Get the number of lines of the file.

1 file.getLines

<file.getLines>
    <file /> !
</file.getLines>
Example

Get the number of lines of the file.

Copy
<xsql-script name='file_getLines_sample1'>
    <body>
        <set name='m_path'>
            <string>c:<file.separator />tmp<file.separator />source<file.separator />deister.txt</string>
        </set>
        <println trim='true'>
            <file.getLines>
                <file name='#m_path' type='absolute' />
            </file.getLines>
        </println>
    </body>
</xsql-script>