[plug] Manipulating a text file

Earnshaw, Mike earnshawm at wa.switch.aust.com
Wed Feb 7 13:06:10 WST 2001


Many thanks!

#-----Original Message-----
#From: Jason Nicholls [mailto:jason at mindsocket.com.au]
#Sent: Monday, 5 February 2001 5:24 PM
#To: plug at plug.linux.org.au
#Subject: Re: [plug] Manipulating a text file
#
#
#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