New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

Awk Scripts - bash terminal?


Post Reply New Thread Subscribe

 
Thread Tools
soulredeemer
Guest
 
Posts: n/a

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.
QUOTE Thanks
witeshark

 
witeshark's Avatar
 
Member Since: Mar 09, 2004
Location: Miami FL
Posts: 2,860
witeshark will become famous soon enough
Mac Specs: G4 1Ghz OS X 10.4.7

witeshark is offline
I think maybe changing shells may work, type man awk to see if the shell has that command in Darwin.
QUOTE Thanks

Post Reply New Thread Subscribe


« Sweet Unix | Newbie programmer needs advice »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
looking for a terminal emulator and command shell in Mac OSX CandiMarie OS X - Operating System 9 03-05-2004 03:53 PM
newbie help (dumb terminal settings?) CaptainMack OS X - Development and Darwin 10 02-17-2004 07:25 PM

All times are GMT -4. The time now is 08:23 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?