[Gllug] Utility to pull fields from lines of a file
John Winters
john at sinodun.org.uk
Sun Apr 13 15:15:24 UTC 2008
It must be old age but I've forgotten the name of a standard UNIX utility.
All I want to do is process a file containing lines like this:
able/baker/charlie
home/made/cakes
and pull out the second field ("baker" and "made") from each one. I
know I've done it a zillion times before (and you could of course do it
with Perl) but I'm sure there's a simple UNIX utility which does it.
Will someone prompt my failing memory please?
TIA,
John
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list