MORITA Kazutaka <[email protected]> writes:

> I don't know the way to include tabs or newlines into a program
> argument string.  I think it is enough to handle only ' ' and '\'.

In the end, I backslash quoted all whitespace in the patch you merged,
because it does appear to be possible to get tabs and newlines into VDI
names:

  # NAME=$(echo foo; echo bar)
  # qemu-img create -f sheepdog "$NAME" 1
  Formatting 'foo
  bar', fmt=sheepdog size=1 
  # collie vdi list
    name        id    size    used  shared    creation time   vdi id
  ------------------------------------------------------------------
  [...]
    foo
  bar      1  0.0 MB  0.0 MB  0.0 MB 2011-06-19 21:24   226618
  [...]

Cheers,

Chris.
-- 
sheepdog mailing list
[email protected]
http://lists.wpkg.org/mailman/listinfo/sheepdog

Reply via email to