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

tid td at bloogaloo.co.uk
Sun Apr 13 15:44:20 UTC 2008


$ cut -f2 -d\/ {filename}

you'll need to check the above syntax as I haven't got a *ix box near
me at present...



On 13/04/2008, Daniel P. Berrange <dan at berrange.com> wrote:
> On Sun, Apr 13, 2008 at 04:15:24PM +0100, John Winters wrote:
>  > 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
>
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list