[uClibc]Re: Awk poetry ;) [was: awk replacement for initfini.pl]

Christian MICHON christian_michon at yahoo.fr
Tue Oct 15 04:31:07 UTC 2002


 --- Jim Treadway <jim at stardot-tech.com> wrote:
> On 15 Oct 2002, Miles Bader wrote:
> 
> > Christian MICHON <christian_michon at yahoo.fr> writes:
> > > = save as initfini.awk ============
> > > = cut here ========================
> > > #! /usr/bin/awk -f
> > 
> > Note that for historical reasons, it's often preferable to use
> > `/usr/bin/nawk' instead (some systems, notably those from sun, keep
> > horrible braindead not-used-since-1982 versions of awk in /usr/bin/awk;
> > most modern systems just have awk and nawk pointing at the same program).
> 
> Note that Red Hat 7.2 and Red Hat 7.3 systems don't seem to have
> /usr/bin/nawk (or /usr/bin/nawk for that matter).
> 
> 	/bin/awk -> gawk
> 	/bin/gawk
> 	/usr/bin/awk -> ../../bin/gawk
> 	/usr/bin/gawk -> ../../bin/gawk

Please note:
I did not make any use of special features that would be nawk or gawk
compatible only.

For your info:
I tried my script on busybox/awk (from the dev tree) and it works fine.

Christian

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com



More information about the uClibc mailing list