[plug] Manipulating a text file

Jason Nicholls jason at mindsocket.com.au
Mon Feb 5 17:20:04 WST 2001


Hi,

On Mon, Feb 05, 2001 at 05:22:21PM +0800, Earnshaw, Mike wrote:
> I am having trouble extracting the first columns of our passwd file into
> another file ...
> 
> mike:x:500:500 ....

awk -F ':' '{print $1}' < filename


Later,

Jason Nicholls
--------------------------------------------------------------------
Jason Nicholls    icq: 11745841    email: <jason at mindsocket.com.au>
Proprietor                        mobile: 0417 410 811
Mind Socket [web services]          http://www.mindsocket.com.au/
--------------------------------------------------------------------



More information about the plug mailing list