X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=guestfish.pod;h=b63541929336bacd892c7ac0d42ae2cd8557b9f1;hb=e02f42cb1d7f60c9d2f020d7d8c1b5316fb61310;hp=d24c1628598ffacdf7e1dcbcd7850fc621fa1257;hpb=f04ee08806ec7bd313e9d54f48f2eb911fcb3067;p=libguestfs.git diff --git a/guestfish.pod b/guestfish.pod index d24c162..b635419 100644 --- a/guestfish.pod +++ b/guestfish.pod @@ -250,9 +250,13 @@ quotes. For example: rm '/"' A few commands require a list of strings to be passed. For these, use -a space-separated list, enclosed in quotes. For example: +a whitespace-separated list, enclosed in quotes. Strings containing whitespace +to be passed through must be enclosed in single quotes. A literal single quote +must be escaped with a backslash. vgcreate VG "/dev/sda1 /dev/sdb1" + command "/bin/echo 'foo bar'" + command "/bin/echo \'foo\'" =head1 WILDCARDS AND GLOBBING @@ -346,6 +350,23 @@ it, eg: echo "~" +=head1 WINDOWS PATHS + +If a path is prefixed with C then you can use Windows-style +paths (with some limitations). The following commands are equivalent: + + file /WINDOWS/system32/config/system.LOG + + file win:/windows/system32/config/system.log + + file win:\windows\system32\config\system.log + + file WIN:C:\Windows\SYSTEM32\conFIG\SYSTEM.LOG + +This syntax implicitly calls C (q.v.) so it also +handles case insensitivity like Windows would. This only works in +argument positions that expect a path. + =head1 EXIT ON ERROR BEHAVIOUR By default, guestfish will ignore any errors when in interactive mode @@ -597,7 +618,12 @@ I<1> if there was an error. =head1 SEE ALSO L, -L. +L, +L, +L, +L, +L, +L. =head1 AUTHORS