Thread: sed
View Single Post
Old 10-04-2007, 06:54 PM   #1 (permalink)
addle_brains
Gold Member
 
addle_brains's Avatar
 
Join Date: Feb 2007
Location: Highfields, QLD, Australia
Posts: 304
Default sed

Anybody actually understand how to use sed? I need to create a script that will output the user name, user ID, group ID and home directory of each user in the /etc/passwd file. I've been trying for a few hours but i'm getting lost amongst the delimiting ( with : ) and all the rest.
__________________
ASUS P5K Deluxe /Wifi API
Intel Core2 Duo E6750@3.37GHz
2 x 1Gig 667 RAM
Inno3D iChill Nvidia 8600GTS XStriker3
2 x Seagate 250Gig SATA HD
Samsung DVD-RAM
Thermaltake Beetle CPU cooler
Thermaltake 850watt Toughpower
CoolerMaster Mystique Silver Aluminium Case
addle_brains is offline   Reply With Quote