On Wednesday 05 February 2003 08:48, Georg Nikodym wrote:
>
> Lastly:
>
> me=${0##*/}
>
> can be rewritten portably:
>
> me=`basename $0`
>
> Yes, there's an extra fork/exec but since one tends to limit their
> setting of a background to once a session, so who gives a rats ass.
>
> Hopefully, all that arcana was worth the electrons...
>
both 0.65.x and 0.70 branch now have this in the bsetbg code. Thanks for
that. I actually use the netbsd ash as my /bin/sh and it supports the {##}
notation so I never noticed.
For some of the people newer to UNIX the history lesson was useful I am sure
....
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
List archives: http://asgardsrealm.net/lurker/splash/index.html
Trouble? Contact [EMAIL PROTECTED]