Public bug reported:

Binary package hint: dash

When IFS is set in a script, and the script as started with dash, dash doesn't 
understand IFS properly.
IFS is set and the script name has a n or a t in it's name, dash removes those 
characters.
eg. script:  /home/username/bin/testnew.sh
=========
#/bin/dash
IFS=' \t\n'
echo $0
=========

result:
/home/user ame/bi / es  ew.sh

expected result:
/home/username/bin/testnew.sh

the same result happens if script is #!/bin/bash  or #!/bin/sh  and it
is started with  'dash scriptname', since Ubuntu points /bin/sh ->
/bin/dash  this happens in almost every script.

** Affects: dash (Ubuntu)
     Importance: Undecided
         Status: New

-- 
dash does not read IFS properly
https://bugs.launchpad.net/bugs/285651
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to