Bash Scripting vs AWK GAWK

Reply

Join Date: Feb 2008
Posts: 17
Reputation: cpp_noobsauce is an unknown quantity at this point 
Solved Threads: 0
cpp_noobsauce cpp_noobsauce is offline Offline
Newbie Poster

Bash Scripting vs AWK GAWK

 
0
  #1
Aug 13th, 2008
Hi.
I'm new to linux.
I have a question....
What is the difference between BASH Scripting and AWK?
When would I use one over the other?
Reply With Quote Quick reply to this message  
Join Date: Oct 2007
Posts: 399
Reputation: eggi will become famous soon enough eggi will become famous soon enough 
Solved Threads: 47
eggi eggi is offline Offline
Posting Whiz

Re: Bash Scripting vs AWK GAWK

 
0
  #2
Aug 14th, 2008
Hey there,

In simple terms, bash is a Unix/Linux shell and scripting in it is just like using the shell in a more sophisticated (or readable way. Awk is a standalone utility that you can launch from bash.

Bash can pretty much do anything (if you're creative) but awk is very well suited to rearranging fields and records in a files (I think it was mostly based on this when it first came out. It does have many features that define it now as a programming language, by strict standards)

Hope that helped

, Mike
Linux and Unix Tips, Tricks and Individual Advice - The Linux and Unix Menagerie!
------------------------------------------------------------------------
The greatest viral marketing idea of all time, get your copy of this Free Report now!
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Shell Scripting Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC