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

Tethys sta296 at astradyne.co.uk
Sun Apr 13 15:44:16 UTC 2008


--------

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

Tet
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list