Re: question about Dash

2009-08-08 Thread Alex Samad
On Fri, Aug 07, 2009 at 12:46:58AM -0700, Brian Marshall wrote: > On Fri, Aug 07, 2009 at 05:23:50PM +1000, Alex Samad wrote: > > the first line is used to invoke a program to process the script for > > example > > > > #!/bin/bash > [...] > > there is name for this, but I can't remember it right

Re: question about Dash

2009-08-07 Thread John Magolske
>> I just tried `dpkg-reconfigure dash` and it broke some of my >> wrapper scripts. At some point I'll make them POSIX compliant, but >> until then I'd like to set my system back to what it was. I tried >> `dpkg-reconfigure bash`, but a particular wrapper script is still >> failing (worked fine bef

Re: question about Dash

2009-08-07 Thread Boyd Stephen Smith Jr.
In <20090807182009.gd2...@mail.b79.net>, John Magolske wrote: >* Andrei Popescu [090807 07:38]: >> then just install dash, let it take over the /bin/sh symlink (run >> 'dpkg-reconfigure dash' if you're on lenny) and enjoy the additional >> speed. I've been doing this for years without ill effects.

Re: question about Dash

2009-08-07 Thread Siggy Brentrup
On Fri, Aug 07, 2009 at 11:20 -0700, John Magolske wrote: > * Andrei Popescu [090807 07:38]: > > then just install dash, let it take over the /bin/sh symlink (run > > 'dpkg-reconfigure dash' if you're on lenny) and enjoy the additional > > speed. I've been doing this for years without ill effects.

Re: question about Dash

2009-08-07 Thread John Magolske
* Andrei Popescu [090807 07:38]: > then just install dash, let it take over the /bin/sh symlink (run > 'dpkg-reconfigure dash' if you're on lenny) and enjoy the additional > speed. I've been doing this for years without ill effects. You will > also notice if any 'sh' scripts are using bash extensi

Re: question about Dash

2009-08-07 Thread Boyd Stephen Smith Jr.
In <20090807072350.ga17...@samad.com.au>, Alex Samad wrote: >On Thu, Aug 06, 2009 at 11:24:18PM -0600, Paul E Condon wrote: >> Recent mentions of dash on this list prompted me to try to learn more >> about it. >> I feel uncomfortable being so totally ignorant about an impending change >> in Debian.

Re: question about Dash

2009-08-07 Thread Paul E Condon
On 2009-08-07_11:20:25, Andrei Popescu wrote: > On Thu,06.Aug.09, 23:24:18, Paul E Condon wrote: > > Recent mentions of dash on this list prompted me to try to learn more > > about it. I googled and learned that it has a different convention for > > indicating that a file is a script that should be

Re: question about Dash

2009-08-07 Thread Siggy Brentrup
On Fri, Aug 07, 2009 at 11:20 +0300, Andrei Popescu wrote: > On Thu,06.Aug.09, 23:24:18, Paul E Condon wrote: > > Recent mentions of dash on this list prompted me to try to learn more > > about it. I googled and learned that it has a different convention for > > indicating that a file is a script t

Re: question about Dash

2009-08-07 Thread Andrei Popescu
On Thu,06.Aug.09, 23:24:18, Paul E Condon wrote: > Recent mentions of dash on this list prompted me to try to learn more > about it. I googled and learned that it has a different convention for > indicating that a file is a script that should be processed by > dash. This affects only the first line

Re: question about Dash

2009-08-07 Thread Brian Marshall
On Fri, Aug 07, 2009 at 05:23:50PM +1000, Alex Samad wrote: > the first line is used to invoke a program to process the script for > example > > #!/bin/bash [...] > there is name for this, but I can't remember it right now. A shebang: -- Brian

Re: question about Dash

2009-08-07 Thread Alex Samad
On Thu, Aug 06, 2009 at 11:24:18PM -0600, Paul E Condon wrote: > Recent mentions of dash on this list prompted me to try to learn more > about it. I googled and learned that it has a different convention for > indicating that a file is a script that should be processed by > dash. This affects only