http://bugzilla.novell.com/show_bug.cgi?id=626629
http://bugzilla.novell.com/show_bug.cgi?id=626629#c4
Torsten Foertsch changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |NEW
InfoProvider|torsten.foertsch@gmx.net |
--- Comment #4 from Torsten Foertsch 2010-07-30 11:08:26 UTC ---
to tell apart sh from bash (if they are linked) it will work.
But dash and ash don't know about -t in read.
Why do you read with a timeout here, anyway? In what cases can read from
/proc/PID/cmdline take longer than a second?
Also dash's read command does not stop reading at the NULL byte:
0 r2@opi ~/tmp$ cat ./x.sh
#!/bin/dash
read a r /dev/null) ; then
case "$0" in
*pcksh) is=ksh ;;
*) is=sh ;;
esac
fi
case "$is" in
*/bash) is=bash
read a r http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.