Le lun 20/05/2002 à 21:11, Daniel Burrows a écrit : > On Mon, May 20, 2002 at 02:43:28PM -0400, Nathan Hawkins <[EMAIL PROTECTED]> > was heard to say: > > Robert Millan wrote: > > >On Mon, May 20, 2002 at 02:05:47PM -0400, Nathan Hawkins wrote: > > > > > >>Looked like a bourne shell to me. Default root shell is /bin/csh on > > >>FreeBSD, but I believe /bin/sh is basically the same as ash. > > >>Interestingly, MAKEDEV fails to work with bash but works fine with ash. > > > > > > > > >Weird. Have you tried with the ash from Debian? Could you paste the lines > > >failing and error from MAKEDEV? > > > > Yes, that's what I'm using for MAKEDEV now. The errors I'm getting with > > MAKEDEV look like this. (There are a lot of them.) > > > > skaro:/dev# /sbin/MAKEDEV all > > MAKEDEV: line 1292: syntax error near unexpected token `)' > > MAKEDEV: line 1292: ` )' > > What does line 1292 look like? This sounds like a possible bash or > ash bug to me.. (not sure which)
First, bash doesn't like something like this : controllers=$( dmesg | while read first rest; do case "$first" in RocketPort[0-4]) echo "$first" ;; esac done ) ash handles it. -- Thomas Poindessous [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]