[comp.os.minix] Danke schoen, Klamer!

david@doe.utoronto.ca (David Megginson) (05/09/91)

I have installed Klamer Schutte's #! patch, and it works! I can now
type

	#! /usr/gnu/bin/gawk

	{insert awk stuff here}

into a shell script, make it executable, and run it. Since I am the
one who started all of this discussion a couple of weeks ago, I
thought I should post a public thank you.

Just so nobody thinks I'm too nice, I'll also mention that the
patch should allow [tab] as well as [space] between its arguments.
That aside, I think that the archive sites should pick up this one.


-- 
////////////////////////////////////////////////////////////////////////
/  David Megginson                      david@doe.utoronto.ca          /
/  Centre for Medieval Studies          meggin@vm.epas.utoronto.ca     /
////////////////////////////////////////////////////////////////////////

klamer@mi.eltn.utwente.nl (Klamer Schutte) (05/10/91)

In <1991May8.230427.22279@doe.utoronto.ca> david@doe.utoronto.ca (David Megginson) writes:


>I have installed Klamer Schutte's #! patch, and it works! I can now
>type

>	#! /usr/gnu/bin/gawk

>	{insert awk stuff here}

>into a shell script, make it executable, and run it. Since I am the
>one who started all of this discussion a couple of weeks ago, I
>thought I should post a public thank you.

Thank you. For all not knowing the exact semantics of #!, suppose you have
a program called "aap" which has the first line:
#!/usr/bin/awk -f
and you execute it as "aap noot", than /usr/bin/awk will be executed as
/usr/bin/awk -f aap noot
(Oops! No awk with minix. However, i think gawk also needs a -f flag!)

>Just so nobody thinks I'm too nice, I'll also mention that the
>patch should allow [tab] as well as [space] between its arguments.
>That aside, I think that the archive sites should pick up this one.

I do notice that SunOs behaviour is accepting \t as well as ' '.
This will be changed in the final version.
Everybody: This is a beta version. Bug reports are wellcome.

Klamer
-- 
Klamer Schutte
Faculty of electrical engineering -- University of Twente, The Netherlands
klamer@mi.eltn.utwente.nl	{backbone}!mcsun!mi.eltn.utwente.nl!klamer