bug-bash
[Top][All Lists]
Advanced

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

Re: ${1:+"$@"} results differnt from "$@" if IFS is NOT default


From: Chet Ramey
Subject: Re: ${1:+"$@"} results differnt from "$@" if IFS is NOT default
Date: Mon, 26 Jan 2004 11:22:21 -0500

> Machine Type: i386-pc-linux-gnu
> 
> Bash Version: 2.05b
> Patch Level: 0
> Release Status: release
> 
> Description:
>       If IFS has NO default value, ${1:+"$@"} results "$1 $2 $3 ...",
>       but "$@" results "$1" "$2" "$3" ... .

Thanks for the report.  This has been fixed for the next release.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
                                                Live...Laugh...Love
Chet Ramey, ITS, CWRU    address@hidden    http://tiswww.tis.cwru.edu/~chet/




reply via email to

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