Fix an escape problem in the docs. Some \n's didn't have the '\'
authorEric Andersen <andersen@codepoet.org>
Fri, 18 May 2001 23:14:53 +0000 (23:14 -0000)
committerEric Andersen <andersen@codepoet.org>
Fri, 18 May 2001 23:14:53 +0000 (23:14 -0000)
escaped, and so were messsing the out output.
 -Erik

applets/usage.h
include/usage.h
usage.h

index 604661f785a3765429a2e8d0d90494501a937a2a..9b83297e4e931731912320c9650dfe4c3f25f12b 100644 (file)
        "Erik\n" \
        "is\n" \
        "cool\n" \
-       "$ echo "Erik\nis\ncool"\n" \
-       "Erik\nis\ncool\n"
+       "$ echo "Erik\\nis\\ncool"\n" \
+       "Erik\\nis\\ncool\n"
 
 #define env_trivial_usage \
        "[-iu] [-] [name=value]... [command]"
index 604661f785a3765429a2e8d0d90494501a937a2a..9b83297e4e931731912320c9650dfe4c3f25f12b 100644 (file)
        "Erik\n" \
        "is\n" \
        "cool\n" \
-       "$ echo "Erik\nis\ncool"\n" \
-       "Erik\nis\ncool\n"
+       "$ echo "Erik\\nis\\ncool"\n" \
+       "Erik\\nis\\ncool\n"
 
 #define env_trivial_usage \
        "[-iu] [-] [name=value]... [command]"
diff --git a/usage.h b/usage.h
index 604661f785a3765429a2e8d0d90494501a937a2a..9b83297e4e931731912320c9650dfe4c3f25f12b 100644 (file)
--- a/usage.h
+++ b/usage.h
        "Erik\n" \
        "is\n" \
        "cool\n" \
-       "$ echo "Erik\nis\ncool"\n" \
-       "Erik\nis\ncool\n"
+       "$ echo "Erik\\nis\\ncool"\n" \
+       "Erik\\nis\\ncool\n"
 
 #define env_trivial_usage \
        "[-iu] [-] [name=value]... [command]"