This page last changed on Jul 20, 2012 by wikibot.

FILE_COUNT_LINE()

Synopsis

Obtains the number of lines of a text file.

Description

Returns the number of lines, or -1 on error.

Syntax

FILE_COUNT_LINE(filename,format)
Arguments
  • filename
  • format - Format may be one of the following:
    • u - Unix newline format.
    • d - DOS newline format.
    • m - Macintosh newline format.
      Note
      If not specified, an attempt will be made to determine the newline format type.

See Also

Import Version

This documentation was imported from Asterisk Version SVN-trunk-r370328

Document generated by Confluence on Nov 02, 2012 17:42