mirror of
https://github.com/GnoConsortium/gno.git
synced 2024-05-29 02:41:28 +00:00
c254e15a3b
Changed EXTERN to extern in common.h, and added globals.c to compensate. Fixed bug in IIgs version where invoking "udl -<flags> filename/" (with the trailing '/') would cause udl to fail due to bad filenames. Added "help" subdirectory. The file "help/udl" is created at build time, and therefore not checked in. Added some "#pragma noroot"s.
33 lines
886 B
C
33 lines
886 B
C
/*
|
|
* udl - Convert EOL formats freely between MS-DOS (CR/LF), Unix/Amiga (LF),
|
|
* and Apple (CR).
|
|
*
|
|
* Usage strings.
|
|
*
|
|
* $Id: udluse.c,v 1.4 1995/02/08 05:25:26 gdr Exp $
|
|
*
|
|
* Copyright (c) 1993-1995 Soenke Behrens, Devin Glyn Reade
|
|
*/
|
|
|
|
#ifdef GNO
|
|
#pragma noroot
|
|
#endif
|
|
|
|
char use1 [] =
|
|
"udl 1.14 by Soenke Behrens, Devin Glyn Reade\n"
|
|
"Usage: udl -u|g|m [-Rvp] file1 [file2 ...]\n\n"
|
|
"Options:\n"
|
|
" -u Convert file to use LF as EOL character.\n"
|
|
" -g Convert file to use CR as EOL character.\n"
|
|
" -m Convert file to use LF/CR as EOL character.\n"
|
|
" -R Recurse through subdirectories.\n"
|
|
" -p Be pedantic.\n"
|
|
" -v Be verbose about it.\n\n"
|
|
"udl creates a temporary file in the directory of the original file,\n"
|
|
"the original file is overwritten after conversion.\n";
|
|
|
|
char use2 [] =
|
|
"\nFiles may contain ORCA/Shell style wildcards.\n";
|
|
|
|
/* End Of File */
|