Re: bug: incorrect variable values when reading from file with 0d0a as newlines

2013-12-17 Thread Greg Wooledge
On Tue, Dec 17, 2013 at 03:18:31PM +0200, Sergey Skripnick wrote: > Description: > When executed script (by `source' or by dot syntax) which have 0d0a > characters as a newlines, readed variables have incorrect values. As you > can see below, 0d character is included, This is expected. >

Re: bug: incorrect variable values when reading from file with 0d0a as newlines

2013-12-17 Thread Pierre Gaston
On Tue, Dec 17, 2013 at 3:18 PM, Sergey Skripnick wrote: > > Configuration Information [Automatically generated, do not change]: > Machine: x86_64 > OS: linux-gnu > Compiler: gcc > Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' > -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc

bug: incorrect variable values when reading from file with 0d0a as newlines

2013-12-17 Thread Sergey Skripnick
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-linux-gnu' -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DP