|
1 | 1 | "Usage:\n" |
2 | | -"\tmulle-c-string-escape [options] [infile] [outfile]\n" |
| 2 | +" mulle-c-string-escape [options] [infile] [outfile]\n" |
3 | 3 | "\n" |
4 | | -"\xe2\x9e\xbf mulle-c-string-escape turns data into C-strings\n" |
| 4 | +" \xe2\x9e\xbf mulle-c-string-escape turns data into C-strings\n" |
5 | 5 | "\n" |
6 | | -"Non-ASCII characters will be escaped to hex or octal. C-escapes are used for\n" |
7 | | -"known C escapes like '\\b'. The output is separated into lines of approximately\n" |
8 | | -"even length and does not exceed the chosen line length.\n" |
9 | | -"You can feed it binary or text files.\n" |
| 6 | +" Non-ASCII characters will be escaped to hex or octal. C-escapes are used for\n" |
| 7 | +" known C escapes like '\\b'. The output is separated into lines of approximately\n" |
| 8 | +" even length and does not exceed the chosen line length.\n" |
| 9 | +" You can feed it binary or text files.\n" |
10 | 10 | "\n" |
11 | | -"You can then easily `#include` the output, or copy/paste it into your\n" |
12 | | -"C program like so:\n" |
| 11 | +" You can then easily `#include` the output, or copy/paste it into your\n" |
| 12 | +" C program like so:\n" |
13 | 13 | "\n" |
14 | | -" static char data[] =\n" |
15 | | -" #include \"data.inc\"\n" |
16 | | -" ;\n" |
17 | | -" #define s_data (sizeof( data) - 1)\n" |
| 14 | +" static char data[] =\n" |
| 15 | +" #include \"data.inc\"\n" |
| 16 | +" ;\n" |
| 17 | +" #define s_data (sizeof( data) - 1)\n" |
18 | 18 | "\n" |
19 | 19 | "Example:\n" |
20 | | -"\tmulle-c-string-escape -0 -l 120 < mytext.txt\n" |
| 20 | +" mulle-c-string-escape -0 -l 120 < mytext.txt\n" |
21 | 21 | "\n" |
22 | 22 | "Options:\n" |
23 | | -"\t-[01234] : zero to four space prefix (TAB)\n" |
24 | | -"\t-h : this help\n" |
25 | | -"\t-e : escape TAB characters\n" |
26 | | -"\t-l <n> : targetted line length (80)\n" |
27 | | -"\t-n : don't create a new line for linefeeds in text\n" |
28 | | -"\t-p <s> : use a custom prefix instead of spaces or TAB\n" |
29 | | -"\t-t <s> : visual size of TAB in text (8)\n" |
| 23 | +" -[01234] : zero to four space prefix (TAB)\n" |
| 24 | +" -h : this help\n" |
| 25 | +" -e : escape TAB characters\n" |
| 26 | +" -l <n> : targetted line length (80)\n" |
| 27 | +" -n : don't create a new line for linefeeds in text\n" |
| 28 | +" -p <s> : use a custom prefix instead of spaces or TAB\n" |
| 29 | +" -t <s> : visual size of TAB in text (8)\n" |
30 | 30 | " -v : print version information and exit\n" |
31 | 31 | "\n" |
32 | 32 | "Dedication:\n" |
33 | | -" This little tool is dedicated to the memory of Oliver Mondry (mondry@me.com)\n" |
| 33 | +" To the memory of Oliver \"General\" Mondry (mondry@me.com)\n" |
34 | 34 | "\n" |
0 commit comments