Awk Scripts - bash terminal?

S

soulredeemer

Guest
Hi

I have written an awk script which reads a .html page's source code and splits it into different categories like links, images, etc.

On a linux machine, to run it i type:
awk awkfile index.html(reading index.html)

When I do in Darwin (bash), nothing happens. It just goes back to command prmopt. Do I have to use another command or am i supposed to use other different terminals? (csh, etc)

Thanks in advance. :)
 
Joined
Mar 9, 2004
Messages
2,860
Reaction score
21
Points
38
Location
Miami FL
Your Mac's Specs
G4 1Ghz OS X 10.4.7
I think maybe changing shells may work, type man awk to see if the shell has that command in Darwin.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top