Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Re: Getting command from ARGV[1] doesn't work in AWK
In article <HemdnYGh7eDeUczfRVn-2Q@gwi.net>, Jim Hart  <jhart@bates.edu> wro
te:
...
>It silently does nothing at all. There is no file /tmp/output and there
>is no file in the local directory called 'cat > /tmp/output', nor one
>called 'cat', for that matter.

OK - sounds like a buggy AWK to me.

>Change the first line of the script to:
>
>#!/usr/local/bin/gawk -f
>
>and the last case works.

Thank you for saving us all the trouble of testing it under gawk.
Basically, you won't get much support here for problems specific to (buggy)
vendor-supplied AWKs.

>AWK version is:
>
>localhost ~/tmp bash2.05$ /usr/bin/awk -V
>awk version 981019
>
>as distributed with Mac OS X 10.3.

Yup - sounds like a buggy AWK to me.


Report this thread to moderator Post Follow-up to this message
Old Post
Kenny McCormack
04-10-05 01:55 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

AWK archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 07:09 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.