Google
  Web www.spinics.net

Rergession in readcmd (commit 55c46b7)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


Greeting!

readcmd put trash in the variables.

Test case:

$ cat /tmp/conf
Include common.conf
FullSpeedCPU yes

$ cat /tmp/z.sh
while read option params; do
  printf '[%s] [%s]\n' "$option" "$params"
done < /tmp/conf

Result:

$ dash /tmp/z.sh
[Include] [common.conf]
[FullSpeedCPU] [yesFnf]

-- 
Rgrds, legion

--
To unsubscribe from this list: send the line "unsubscribe dash" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[TCP/IP Books]     [Linux Resources]     [LARTC]     [Home]     [Bugtraq]     [Consulting]     [Yosemite Forum]     [Photo]

Powered by Linux