1 --- fsplit.c.org 2004-10-10 19:57:00.397209665 +0200
2 +++ fsplit.c 2004-10-10 19:58:03.708646674 +0200
4 unsigned int max_suffix=999;
7 -char helpmsg[] = { "Usage: fsplit -s N [-i infile] [-o outfile]
9 -Splits input into chunks of N bytes.
11 -The chunks are created with suffixes of 000, 001, 002 etc, up to a max of 999.
13 -If no input file name is specified, fsplit reads from stdin.
15 -If no output file name is specified, fsplit uses the input file name as the
16 -output file name base where an input was specified, otherwise it just uses
17 -\"xx\" as a base (ie: \"xx.000\", \"xx.001\" etc).
19 +char helpmsg[] = { "Usage: fsplit -s N [-i infile] [-o outfile]\n"
21 +"Splits input into chunks of N bytes.\n"
23 +"The chunks are created with suffixes of 000, 001, 002 etc, up to a max of 999.\n"
25 +"If no input file name is specified, fsplit reads from stdin.\n"
27 +"If no output file name is specified, fsplit uses the input file name as the\n"
28 +"output file name base where an input was specified, otherwise it just uses\n"
29 +"\"xx\" as a base (ie: \"xx.000\", \"xx.001\" etc).\n"};
31 main(int argc, char *argv[])