[Cialug] PerlRE
Major Stubble
major.stubble at gmail.com
Tue Sep 4 07:14:12 CDT 2007
'awk' would work the best:
awk '/We go to the / {print $5}' filename
-Nick
On Sep 2, 2007, at 2:40 PM, Eric Junker wrote:
> Todd Walton wrote:
>> But how do I yank and return just "We go to the " out of it?
>
> Depending on how exact you need your output, grep might be sufficient.
>
> grep "We go to the" file.txt
>
> Eric
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug
More information about the Cialug
mailing list