awk question
can awk do anything else besides printing? i've only seen the '{print}' action being used. are there any other actions that awk can do?
|
I use gawk, which is very similar to awk. It's a stream editor and without it there are many things on my machine that just wouldn't happen!
You can find out more about it here. |
Well, yes it can do a lot. Mostly you should use awk when dealing with data files arranged in columns or lists. Look up some tutorials:
http://www.grymoire.com/Unix/Awk.html Awk is a scripting language, BTW. It's a language, not just print. |
All times are GMT -5. The time now is 12:34 AM. |