All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] hush variable expansion & quoting
@ 2013-05-14 17:06 Henrik Nordström
  2013-05-16 12:35 ` Henrik Nordström
  0 siblings, 1 reply; 2+ messages in thread
From: Henrik Nordström @ 2013-05-14 17:06 UTC (permalink / raw)
  To: u-boot

Quoting is broken (ignored/lost) when there is variable expansions

    # test "a b" = c; echo $?
    1
    # v="a b"
    # test "$v" = c; echo $?
    0
    # echo "a    b"
    a    b
    # v="a    b"
    # echo "$v"
    a b

Regards
Henrik

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

end of thread, other threads:[~2013-05-16 12:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-14 17:06 [U-Boot] hush variable expansion & quoting Henrik Nordström
2013-05-16 12:35 ` Henrik Nordström

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.