You are not logged in.
Pages: 1
Hi,
Unfortunately I really don't have the time to learn awk.
I need a command which scans a file and prints a subset of the line when a match is found.
Here are the specifics.
When a line containing the following is found. I need to print /some/path. I only want to consider the first match and any other lines not matching should be ignored.
DocumentRoot "/some/path"
How can this be done?
Thanks
Offline
Thank you very much for that.
Offline
Pages: 1