Anthony Rumble wrote:
> 
> On 1 Jun 2000, Herbert Xu wrote:
> 
> > Simon Bryan <[EMAIL PROTECTED]> wrote:
> > > I have a file of:
> > > username:password
> >
> > > I want to be able to regularly generate a file from this of just the usernames,
> >
> > cut -d : -f 1
> 
> Proving yet again.. theres always at least 15 ways of skining a cat on
> Unix :)

Yep...

$ cat input | sed -e 's/:.*//' > output


Matthew
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text

Reply via email to