This page last changed on Oct 14, 2011 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: If not specified, an attempt will be made to determine the newline format type.If not specified, an attempt will be made to determine the newline format type.
    • u - Unix newline format.
    • d - DOS newline format.
    • m - Macintosh newline format.

See Also

Asterisk 10 Function_FILE
Asterisk 10 Function_FILE_FORMAT

Import Version

This documentation was imported from Asterisk version SVN-branch-10-r340810.

Document generated by Confluence on Oct 14, 2011 13:25