[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: spaces in $0

From: Paul Eggert
Subject: Re: spaces in $0
Date: Mon, 20 Mar 2006 23:13:15 -0800
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

Ralf Wildenhues <address@hidden> writes:

> $ foo='bar  baz'
> $ touch "$foo"
> $ cat <$foo
> bash: $foo: ambiguous redirect
> $ cat <"$foo"
> $ echo $BASH_VERSION
> 2.05b.0(1)-release

Silly me, I didn't test bash; I tested only ksh and Solaris sh.
Bash does the right thing if POSIXLY_CORRECT=1, but I guess
for some reason it does the incompatible thing otherwise.

Please make the original change that you wanted.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]