Enrique Perez-Terron wrote:
> Hello,
>
> The command
>
> echo "${PATH//:/$'\n'}"
>
> yields
>
> /usr/bin'
> '/bin'
> '/usr/X11R6/bin
>
> while
>
> newline=$'\n'
> echo "${PATH//:/$newline}"
>
> yields
>
> /usr/bin
> /bin
> /usr/X11R6/bin
>
> Is this by intention?
It certainly doesn't seem intended if the `extquote' option is enabled.
I will take a look. Thanks for the report.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
( ``Discere est Dolere'' -- chet )
Live Strong.
Chet Ramey, ITS, CWRU [EMAIL PROTECTED] http://cnswww.cns.cwru.edu/~chet/
_______________________________________________
Bug-bash mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-bash