Bug#349855: dash: when storing a string in a variable, special character (e.g. octal 201) is dropped

2006-04-09 Thread Herbert Xu
On Sat, Feb 04, 2006 at 10:47:09AM +, Gerrit Pape wrote: Hi Herbert, I can confirm this. '\201' is used as CTLESC, and removed on expansion it seems. Sorry, I don't have a patch to suggest this time. Yes this is a real bug. Here is the patch that should fix this. Cheers, -- Visit

Bug#349855: dash: when storing a string in a variable, special character (e.g. octal 201) is dropped

2006-02-08 Thread Torsten Scheck
Gerrit Pape wrote: forwarded 349855 upstream quit On Wed, Jan 25, 2006 at 06:25:29PM +0100, Torsten Scheck wrote: The character 'octal 201' is dropped when it is stored in a shell variable: $ x=`printf xxx\201` $ echo $x xxx Hi Herbert, I can confirm this. '\201' is used as CTLESC,

Bug#349855: dash: when storing a string in a variable, special character (e.g. octal 201) is dropped

2006-02-04 Thread Gerrit Pape
forwarded 349855 upstream quit On Wed, Jan 25, 2006 at 06:25:29PM +0100, Torsten Scheck wrote: The character 'octal 201' is dropped when it is stored in a shell variable: $ x=`printf xxx\201` $ echo $x xxx Hi Herbert, I can confirm this. '\201' is used as CTLESC, and removed on expansion

Bug#349855: dash: when storing a string in a variable, special character (e.g. octal 201) is dropped

2006-01-25 Thread Torsten Scheck
Package: dash Version: 0.5.2-5 Severity: normal The character 'octal 201' is dropped when it is stored in a shell variable: $ x=`printf xxx\201` $ echo $x xxx I encountered the problem, when a script failed which worked on file names containing the special character: $ touch `printf xxx\201`