X-Git-Url: http://git.tremily.us/?p=hooke.git;a=blobdiff_plain;f=doc%2Ftutorial.txt;h=1e0b95709410e6d451b50dc9d2eed84e1e5fd602;hp=13e06944eec3bccfaa3c887dabf62bc80cc3053f;hb=HEAD;hpb=74756b77ea19b9b0a76c3de24d0ce6c0ab910656 diff --git a/doc/tutorial.txt b/doc/tutorial.txt index 13e0694..1e0b957 100644 --- a/doc/tutorial.txt +++ b/doc/tutorial.txt @@ -106,13 +106,20 @@ and you want to analyze them all. You then can ``cd`` (change directory) to the directory:: - hooke> cd --path c:\curves + hooke> cd --path "c:\curves" -Type ``pwd`` (print working directory) to check the directory is correct.:: +Hooke parses it's commandline using `POSIX rules`_, so you need to +quote arguments with backslashes to keep them from being expanded as +escape sequences (e.g. ``\t`` → ``TAB``). + +Type ``pwd`` (print working directory) to check the directory is +correct.:: hooke> pwd c:\curves +.. _POSIX rules: http://docs.python.org/library/shlex#parsing-rules + You can list the files in the directory using ``ls`` or ``dir`` (they’re synonyms).::