file line
A <file line> object produces strings from a text file.
Version | Platforms |
---|---|
8.0.584.0 | AIX, HP-UX, Mac, Red Hat, SUSE, Solaris, Windows |
8.1.535.0 | Debian, Ubuntu |
9.5.13.130 | Raspbian |
Creation
Iterates over all the lines of the given file. Note that each line is truncated to 2048 bytes and the remaining characters are moved to the next line.
Version | Platforms |
---|---|
8.0.584.0 | AIX, HP-UX, Mac, Red Hat, SUSE, Solaris, Windows |
8.1.535.0 | Debian, Ubuntu |
9.5.13.130 | Raspbian |
Returns the nth line (specified by <integer>) from the given file that might be locked because it is concurrently opened for writing by another application.
You are supposed to use this inspector to access files that are only being appended to, such as log files, because the files can be changed while the inspector reads them. Otherwise the results can be unpredictable.
This inspector cannot read all kinds of locked files. It fails to open a file if another application has opened the file in an exclusive mode, that is, without allowing others to read the file.
The inspector does not override the access mode or the sharing flag specified to open the file by another application.
Version | Platforms |
---|---|
9.5.7.90 | AIX, Debian, Mac, Red Hat, SUSE, Solaris, Ubuntu, Windows |
9.5.13.130 | Raspbian |
Returns all the lines containing the specified string and belonging to the given file that might be locked because it is concurrently opened for writing by another application.
You are supposed to use this inspector to access files that are only being appended to, such as log files, because the files can be changed while the inspector reads them. Otherwise the results can be unpredictable.
This inspector cannot read all kinds of locked files. It fails to open a file if another application has opened the file in an exclusive mode, that is, without allowing others to read the file.
The inspector does not override the access mode or the sharing flag specified to open the file by another application.
Version | Platforms |
---|---|
9.5.7.90 | AIX, Debian, Mac, Red Hat, SUSE, Solaris, Ubuntu, Windows |
9.5.13.130 | Raspbian |
Iterates over all the lines of the specified file that might be locked because it is concurrently opened for writing by another application. Note that each line is truncated to 2048 bytes and the remaining characters are moved to the next line.
You are supposed to use this inspector to access files that are only being appended to, such as log files, because the files can be changed while the inspector reads them. Otherwise the results can be unpredictable.
This inspector cannot read all kinds of locked files. It fails to open a file if another application has opened the file in an exclusive mode, that is, without allowing others to read the file.
The inspector does not override the access mode or the sharing flag specified to open the file by another application.
Version | Platforms |
---|---|
9.5.7.90 | AIX, Debian, Mac, Red Hat, SUSE, Solaris, Ubuntu, Windows |
9.5.13.130 | Raspbian |
Returns the lines starting with the specified string and belonging to the given file that might be locked because it is concurrently opened for writing by another application.
You are supposed to use this inspector to access files that are only being appended to, such as log files, because the files can be changed while the inspector reads them. Otherwise the results can be unpredictable.
This inspector cannot read all kinds of locked files. It fails to open a file if another application has opened the file in an exclusive mode, that is, without allowing others to read the file.
The inspector does not override the access mode or the sharing flag specified to open the file by another application.
Version | Platforms |
---|---|
9.5.7.90 | AIX, Debian, Mac, Red Hat, SUSE, Solaris, Ubuntu, Windows |
9.5.13.130 | Raspbian |
Properties
Returns the line number of a given line in the specified file. Can be used to locate specific lines in a file. Example: line number of line containing "[mciavi]" of file "mmdriver.inf" of system folder.
Version | Platforms |
---|---|
8.0.584.0 | AIX, HP-UX, Mac, Red Hat, SUSE, Solaris, Windows |
8.1.535.0 | Debian, Ubuntu |
9.5.13.130 | Raspbian |
Returns the line after the specified line in a file, provided that it is not the last line. This inspector can be chained indefinitely, e.g. next line of next line of ...
Version | Platforms |
---|---|
8.0.584.0 | AIX, HP-UX, Mac, Red Hat, SUSE, Solaris, Windows |
8.1.535.0 | Debian, Ubuntu |
9.5.13.130 | Raspbian |