On Mon, 22 Mar 2004 captgoodnight@acsalaska.net wrote:
>
> GNU bash, version 2.05b.0(1)-release-(i586-mandrake-linux-gnu)
And now for another bit of strangeness, using your version of Bash on FreeBSD:
acorliss@ratbert:~/test$ /usr/local/bin/bash --version
GNU bash, version 2.05b.0(1)-release (i386-portbld-freebsd4.9)
Copyright (C) 2002 Free Software Foundation, Inc.
acorliss@ratbert:~/test$ mkdir "foo bar" foo
acorliss@ratbert:~/test$ touch "foo bar"/got-it foo/no-go
acorliss@ratbert:~/test$ ./test.sh -f foo\ bar
got-it
acorliss@ratbert:~/test$
Your exact script works fine.
:-P I officially admit defeat. I don't have a single Bourne/POSIX shell at my
disposal that works like yours does, but, then, I'm no longer sure that your
behaviour isn't the right behaviour after all. It's not what I've always
expected, but I can't find explicit documentation that it's right, either.
I'm going to shut up now and stay within the safe, comfortable confines of my
own shell. <sigh>
--Arthur Corliss
Bolverk's Lair -- http://arthur.corlissfamily.org/
Digital Mages -- http://www.digitalmages.com/
"Live Free or Die, the Only Way to Live" -- NH State Motto
---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Tue Mar 23 08:17:25 2004
This archive was generated by hypermail 2.1.8 : Tue Mar 23 2004 - 08:17:25 AKST