[Gllug] Utility to pull fields from lines of a file

John Winters john at sinodun.org.uk
Sun Apr 13 15:46:25 UTC 2008


Tethys wrote:
> --------
> 
> Jason Clifford writes:
> 
>>> Will someone prompt my failing memory please?
>> awk?
>> sed?
>> egrep?
>> perl?
> 
> Nice try, but I suspect cut is the command he was looking for:
> 
> 	cut -d/ -f2 file.txt

And indeed cut.  I *am* out of practice.

Cheers,
John
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list