![]() |
Sed & Awk
What are these? They sound pretty cool and I'd like to get to grips with them
Can someone give me a link or explain to me how to get started please? I already use Linux. Thanks very much! |
There are built into most Linux distros. Just type the command with the arguments and you're on your way!
|
Thanks for the reply!!!
I've typed in both sed and awk separately and all I get is a list of words and a bit of text about reporting bugs. Is it possible to actually use this? Thanks! |
Well, since sed and awk are both CLI scripting languages, you must specifiy what exactly you want to do with them.
Example :
grep b* filename |
I'm thinking that a trip to the man pages, or to Google, would answer more questions in one trip than you might expect to achieve in a 40-post forum thread. Just a thought, of course. Inefficient farbling around might be more enjoyable, if you're into that sort of thing.
|
sed, awk, vi ... if you want to write scripts in unix/linux learn them.
See these lists for examples: http://www.student.northpark.edu/pem...d/sed1line.txt http://www.student.northpark.edu/pem...k/awk1line.txt |
IR: Thanks for the advice! I'll give them a go as I think I'm going to get into Linux now.
DaWei: Of course! Inefficient farbling is 100% cool! What are the man pages? Of course I could google the answer but when I could farble inneficiently what's the point? |
man = manual
run this at the linux prompt man sed man awk man vi pressing the space bar or down arrow should let you scroll the content |
Thanks for this. I'm giving it a go now.
My version of Slackware just got seriously noobed up. I deleted my Kubuntu partition because I had loads of unnecesary stuff and decided to reinstall Kubuntu so made the necessary partitions and gave Kubuntu 8GB. The installation failed and now the LILO boot loader doesn't work. Good job I made a boot floppy. Any suggestions on how I can get the boot loader working again. Anything would be great! Thanks! |
| All times are GMT -5. The time now is 12:44 AM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC