$readn: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m added category |
||
| Line 6: | Line 6: | ||
== Also See == | == Also See == | ||
* [[$read]] | * [[$read]] | ||
[[Category:File and Directory Identifiers]] | |||
mNo edit summary |
m added category |
||
| Line 6: | Line 6: | ||
== Also See == | == Also See == | ||
* [[$read]] | * [[$read]] | ||
[[Category:File and Directory Identifiers]] | |||
This returns the line number that $read() previously returned.
$readn
If $readn returns 0 $read() failed to match any content.
echo -ag $+(",$read(Example.txt),") is on line number $readn