Thread: help
View Single Post
Old Apr 7th, 2005, 2:32 PM   #2
Cerulean
Professional Programmer
 
Cerulean's Avatar
 
Join Date: Apr 2005
Location: London, England
Posts: 459
Rep Power: 4 Cerulean is on a distinguished road
sed or awk? They're both mainly used alongside some form of shell (BASH/CSH/ZSH) on the command line. A dieing portion of people write whole scripts in them.
The only thing I use sed for these days is quick replacing of characters on the command line or simple regexps:
echo 'Hello there my friend!' | sed 's/my/old/g'
The output of that is "Hello there old friend!". You get the idea.
AWK I have around 5 seconds worth of experience with so i'm not going to discuss
Cerulean is offline   Reply With Quote