man awk?
I've used awk for similar tasks (if I am reading the post correctly.) Google-Fu
should turn up some useful examples.
Also awk should be on your linux installation in some form or another.
Regards,
Ken Hutchison
On Oct 4, 2554 BE, at 10:52 PM, "Tom D. Harray" wrote:
> Hi there,
>
Hi there,
I would like to use my linux system's fgrep to search for a text pattern
in a file. Calling system with
system("fgrep \"SearchPattern\" /path/to/the/textFile.txt")
works in general, but I need to search for the search pattern at the
beginning of the line.
The corresponding she
2 matches
Mail list logo