[darcs-users] darcs patch: Do no word splitting after expansion in pwd-based shel...
David Roundy
droundy at darcs.net
Mon Sep 8 18:17:59 UTC 2008
On Mon, Sep 08, 2008 at 11:13:40AM -0700, Jason Dagit wrote:
> On Mon, Sep 8, 2008 at 11:05 AM, David Roundy <droundy at darcs.net> wrote:
> > On Mon, Sep 08, 2008 at 05:54:27PM +0000, E.Y.Kow at brighton.ac.uk wrote:
> >> Another fast-trackee
> >> Mon Sep 8 18:49:48 BST 2008 Eric Kow <E.Y.Kow at brighton.ac.uk>
> >> * Do no word splitting after expansion in pwd-based shell tests.
> >> Lest darcs/Cygwin be confused by spaces in the pwd output.
> >
> >> [Do no word splitting after expansion in pwd-based shell tests.
> >> Eric Kow <E.Y.Kow at brighton.ac.uk>**20080908174948
> >> Lest darcs/Cygwin be confused by spaces in the pwd output.
> >> ] hunk ./tests/mv-formerly-pl.sh 133
> >>
> >> touch abs_path.t
> >> darcs add abs_path.t
> >> +IFS=""
> >> REPO_ABS=`portable_pwd`
>
> It was happening right here. zooko discovered that bash does a bit of
> magic processing for you based on the value of IFS when you have a
> line like:
> REPO_ABS=`portable_pwd`
I don't understand. It doesn't do that for me, at least as far as I
can tell. Is it because portable_pwd is a function?
David
More information about the darcs-users
mailing list