All of lore.kernel.org
 help / color / mirror / Atom feed
* Rergession in readcmd (commit 55c46b7)
@ 2009-08-26 18:18 Alexey Gladkov
  2009-08-31 10:12 ` Herbert Xu
  0 siblings, 1 reply; 4+ messages in thread
From: Alexey Gladkov @ 2009-08-26 18:18 UTC (permalink / raw)
  To: dash

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-11-26  3:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-26 18:18 Rergession in readcmd (commit 55c46b7) Alexey Gladkov
2009-08-31 10:12 ` Herbert Xu
2009-11-11  1:19   ` Alexey Gladkov
2009-11-26  3:54     ` Herbert Xu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.