Author Topic: SquAWK  (Read 2729 times)

0 Members and 1 Guest are viewing this topic.

Offline Keith

  • Hero Member
  • *****
  • Posts: 861
  • Karma: 11
  • Gender: Male
  • Linux Novice
    • View Profile
    • Awards
SquAWK
« on: November 25, 2014, 04:18:10 pm »
I am having a go at using AWK and find it very powerful.  I have been following tutorials on the web (especially http://www.vectorsite.net/tsawk.html) but hate reading from a screen, so now is the time to buy a book. 

A quick browse on Amazon yielded the info by one reviewer that many of the advertised books (by different authors) are virtually identical clones.  This might mean that they are fantastically good - or that there aren't many books on AWK.  I would be grateful if you chaps (and chapettes) could recommend a tome that starts from the basics and keeps going to the more advanced stuff.

Many thanks

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 17940
  • Karma: 461
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: SquAWK
« Reply #1 on: November 25, 2014, 06:13:52 pm »
Never owned a book on programming, let alone awk, so can't really help here :-[
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline Keith

  • Hero Member
  • *****
  • Posts: 861
  • Karma: 11
  • Gender: Male
  • Linux Novice
    • View Profile
    • Awards
Re: SquAWK
« Reply #2 on: November 25, 2014, 09:15:20 pm »
OK Mark. 
I take my hat off to those those who can pick up programming without recourse to books!  But then I am a bit of a bibliophile.

Keith

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 17940
  • Karma: 461
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: SquAWK
« Reply #3 on: November 26, 2014, 02:13:15 am »
Not a programmer :)
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline chemicalfan

  • Hero Member
  • *****
  • Posts: 1166
  • Karma: 36
  • Gender: Male
  • I've been here a little while!
    • View Profile
    • Awards
Re: SquAWK
« Reply #4 on: November 26, 2014, 09:17:43 am »
I've never really seen the point of awk, I see it included in a lot of scripts, especially build scripts, but it seems what it's being used for could easily be covered with a variety of other unix programs such as grep, sed, and even inbuilt bash commands. Weird.

Offline Keith

  • Hero Member
  • *****
  • Posts: 861
  • Karma: 11
  • Gender: Male
  • Linux Novice
    • View Profile
    • Awards
Re: SquAWK
« Reply #5 on: November 26, 2014, 09:51:00 am »
I have only scratched the surface of AWK but it does appear to have a broader range of functionality than grep & sed, and all in one place rather than having to learn separate functions. 
My interest is just for fun rather than any practical need, as you will have discovered from my previous posts! 

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 17940
  • Karma: 461
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: SquAWK
« Reply #6 on: November 26, 2014, 11:36:07 am »
I've never really seen the point of awk, I see it included in a lot of scripts, especially build scripts, but it seems what it's being used for could easily be covered with a variety of other unix programs such as grep, sed, and even inbuilt bash commands. Weird.

Isn't that a bit like saying I can't see the point of Python because of C ?

or I can't see the point of Quake because of Doom

or I can't see the point of gedit because of leafpad / vim / <insert other text editor>

or I can't see the point of OS X / Windows because of Linux .. OK, sometimes your argument holds water ;)

--
« Last Edit: November 26, 2014, 11:43:31 am by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal