in reply to Re^2: Searching a pattern's first and last occurrence in a file.
in thread Searching a pattern's first and last occurrence in a file.
is there any way to search a file for a string bottom up?
There are ways, but unless your file(s) are so big that you cannot fit them in memory(?), I wouldn't bother because they are horribly inefficient.
Secondly how do i search ABCXXX where xxx could be Jan Feb...... Dec
Use regex.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Searching a pattern's first and last occurrence in a file.
by ankurk (Initiate) on Oct 19, 2013 at 17:51 UTC | |
by BrowserUk (Patriarch) on Oct 19, 2013 at 19:24 UTC | |
|
Re^4: Searching a pattern's first and last occurrence in a file.
by ankurk (Initiate) on Oct 20, 2013 at 13:24 UTC |