Re: Weird ash/sash behavior -- Solved

2000-01-14 Thread H Huang
Forget it! I put the space in the wrong place: "# !/bin/sh", as opposed to "#! /bin/sh". I'm really sorry :( Thanks. -- H Huang

Re: Weird ash/sash behavior

2000-01-14 Thread H Huang
Joey Hess writes: > > But how can you explain > > -- > > #! /bin/ash > > mkdir -p test/{foo,bar} > > -- > > does expand the {foo,bar}, while > > It doesn't here. Sorry. It doesn't here either. But try: -

Re: Weird ash/sash behavior

2000-01-14 Thread Gregory T. Norris
I can't reproduce that behaviour here (potato with ash 0.3.5-9). On Thu, Jan 13, 2000 at 12:16:02PM -0800, H Huang wrote: > > I've been experimenting using /bin/ash as /bin/sh recently. No big > problem so far. However, a couple of debian/rules failed to > build. Further examination shows that: >

Re: Weird ash/sash behavior

2000-01-14 Thread Eric G . Miller
I can't reproduce your results here. With both '#!/bin/ash' and '#! /bin/ash' I get 'test/{foo,bar}' as a directory. I'll guess that on your system, the space causes the #! to be ignored and the script run by your current shell (presumably bash). Try changing your shell to ash and rerunning

Re: Weird ash/sash behavior

2000-01-14 Thread H Huang
Joey Hess writes: > > produces one directory under test: test/{usr,bin} > > > > Note that /bin/sash also has the same problem, while /bin/bash, > > /bin/tcsh, and /usr/bin/ksh do not. > > > > Any comment? > > Yes. {foo,bar} is a bashism. Do not expect

Re: Weird ash/sash behavior

2000-01-13 Thread Joey Hess
H Huang wrote: > produces one directory under test: test/{usr,bin} > > Note that /bin/sash also has the same problem, while /bin/bash, > /bin/tcsh, and /usr/bin/ksh do not. > > Any comment? Yes. {foo,bar} is a bashism. Do not expect any shell except bash to expand it. -- see shy jo

Weird ash/sash behavior

2000-01-13 Thread H Huang
duces two: test/usr and test/bin, which is probably what we want. Note that /bin/sash also has the same problem, while /bin/bash, /bin/tcsh, and /usr/bin/ksh do not. Any comment? -- H Huang

"sash"

1999-03-17 Thread Craig McVean
G'day Raul. i have sash installed as the root shell i typed exit and it through me out of myconsole to a login prompt ( well thats ok as i wanted to logout ) But now i cant login anymore. it tells me its running a restricted shell called exit and drops me back to the login screen again? i