Re: empty lines at the end of quoted command subsitutions missing

2010-07-24 Thread Chet Ramey
On 7/24/10 3:23 AM, Andreas Schwab wrote: > koe...@science-computing.de writes: > >> empty line(s) at the end of quoted command subsitutions are missing: > > That is not a bug, but a feature. Command subsitution generally strips > trailing newlines from the output of the command. If you want th

Re: empty lines at the end of quoted command subsitutions missing

2010-07-24 Thread Pierre Gaston
On Sat, Jul 24, 2010 at 10:23 AM, Andreas Schwab wrote: > koe...@science-computing.de writes: > >> empty line(s) at the end of quoted command subsitutions are missing: > > That is not a bug, but a feature.  Command subsitution generally strips > trailing newlines from the output of the command.  I

Re: empty lines at the end of quoted command subsitutions missing

2010-07-24 Thread Andreas Schwab
koe...@science-computing.de writes: > empty line(s) at the end of quoted command subsitutions are missing: That is not a bug, but a feature. Command subsitution generally strips trailing newlines from the output of the command. If you want the complete output use a pipe. Andreas. -- Andreas

empty lines at the end of quoted command subsitutions missing

2010-07-23 Thread koenig
Configuration Information [Automatically generated, do not change]: Machine: amd64-linux OS: sles10, suse 11.1, suse 11.3 Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='amd64-linux' -DCONF_OSTYPE='suse10les' -DCONF_MACHTYPE='x86_64-unknown-linux-gnu' -DCONF_VENDOR='unknown'