Re: Possible bash bug when dealing with CR/LF in variable expansion

2006-01-23 Thread Paul Jarc
"Johannes Thoma" <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED]:~/bash/bash-3.1$ zak=`printf '\x0d\x0a'` As documented in the man page under "Command Substitution", this strips off any trailing newlines from the program's output before assigning the variable's value. So zak contains only a carria

Possible bash bug when dealing with CR/LF in variable expansion

2006-01-23 Thread Johannes Thoma
From: johannes To: bug-bash@gnu.org,[EMAIL PROTECTED] Subject: [50 character or so descriptive subject here (for reference)] Configuration Information [Automatically generated, do not change]: Machine: i386 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i386' -D