mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
Various minor capitalization and typo fixes (#371)
This commit fixes various minor typos, punctuation errors and corrects the capitalization of many names.
This commit is contained in:
parent
cd562b16e2
commit
e54001d58b
204 changed files with 779 additions and 784 deletions
|
|
@ -21,11 +21,11 @@
|
|||
10-10-20 ln: fix 'cannot replace existing file' logic
|
||||
10-10-10 cp,mv: add --remove-destination
|
||||
10-08-11 cp.c,expr.c: use conformance("standard",0) test
|
||||
10-08-11 cut.c: use mbnsize() instead of mblen() (for ast C.UTF-8)
|
||||
10-08-11 cut.c: use mbnsize() instead of mblen() (for AST C.UTF-8)
|
||||
10-07-28 chgrp.c,chmod.c,cksum.c: fts_path for diagnostics, not fts_accpath!
|
||||
10-06-14 rm.c: fix -rfu logic
|
||||
10-06-12 paste.c: repeat after me: do not modify argv[i]
|
||||
10-06-01 sync with ast api 20100601
|
||||
10-06-01 sync with AST API 20100601
|
||||
10-05-09 tail.c: fix -0f bug that initially listed the entire file
|
||||
10-05-06 basename.c: add { -a,--all -s,--suffux=suffix } from BSD
|
||||
10-04-12 cat.c: fix -v bug that dumped core and make consistent with cmp --print-chars
|
||||
|
|
@ -99,13 +99,13 @@
|
|||
07-11-29 rev.c: honor multibyte locales
|
||||
07-11-27 cp.c: open non-existent destination with O_EXCL
|
||||
07-11-27 stty.c: add -t,--terminal-group to list tty pgrp
|
||||
07-11-27 cksum.c: --silent -s => -S, -s == -x sys5 for gnu compatibility
|
||||
07-11-11 tee.c: drop ancient bsd compatibility "-" operand => SIGINT
|
||||
07-11-27 cksum.c: --silent -s => -S, -s == -x sys5 for GNU compatibility
|
||||
07-11-11 tee.c: drop ancient BSD compatibility "-" operand => SIGINT
|
||||
07-10-29 cksum.c: add SUM_LEGACY for -r
|
||||
07-10-12 cp.c: plug usage string memory leak by using per-builtin state
|
||||
07-09-21 cksum.c: add sumprint() default scale arg, --scale, --bsd for solaris
|
||||
07-09-21 cksum.c: add sumprint() default scale arg, --scale, --bsd for Solaris
|
||||
07-09-10 chmod.c: add --show,-n
|
||||
07-07-27 wclib.c: bias <wchar.h> checks for modern unix
|
||||
07-07-27 wclib.c: bias <wchar.h> checks for modern Unix
|
||||
07-07-17 cat.c: fix --squeeze-blank to reduce multiple blank lines to *one*
|
||||
07-05-20 cmd.h: handle msvc's balk at if(0)0=0;
|
||||
07-05-20 cksum.c: #include <modex.h>
|
||||
|
|
@ -156,8 +156,8 @@
|
|||
06-08-28 uniq.c: add -D,--all-repeated
|
||||
06-08-25 wc.c,wclib.c: add -L,--longest-line,WC_LONGEST
|
||||
06-08-24 wc.c,wclib.c: implement -m and WC_MBYTE
|
||||
06-08-24 rmdir.c: -sp applies to every message, add gnu -e
|
||||
06-08-23 rmdir.c: add solaris --suppress, -s
|
||||
06-08-24 rmdir.c: -sp applies to every message, add GNU -e
|
||||
06-08-23 rmdir.c: add Solaris --suppress, -s
|
||||
06-08-23 mkdir.c: don't add 0300 to -p final dir mode
|
||||
06-07-17 cut.c: handle last line with no newline
|
||||
06-07-17 cut.c: --output-delimiter == --line-delimiter
|
||||
|
|
@ -244,7 +244,7 @@
|
|||
01-05-31 date: fix /bin/date fallback logic
|
||||
stty: fix a few mismatched flags, -a and -g option logic
|
||||
stty: tone down sane to modify current settings rather than from zero
|
||||
01-05-01 uname: -i => -h, add sol.sun4 -i, add sgi -R, punt to /usr/bin/uname
|
||||
01-05-01 uname: -i => -h, add sol.sun4 -i, add SGI -R, punt to /usr/bin/uname
|
||||
01-04-17 date,rm: add
|
||||
01-03-07 cp: fix readonly string mod on "."
|
||||
01-01-23 cp: `cp foo' => `cp foo .' only for CONFORMANCE!=standard
|
||||
|
|
|
|||
|
|
@ -126,7 +126,7 @@ typedef struct State_s /* program state */
|
|||
int header; /* list method on output */
|
||||
int list; /* list file name too */
|
||||
Sum_t* oldsum; /* previous sum method */
|
||||
int permissions; /* include mode,uer,group */
|
||||
int permissions; /* include mode,user,group */
|
||||
int haveperm; /* permissions in the input */
|
||||
int recursive; /* recursively descend dirs */
|
||||
size_t scale; /* scale override */
|
||||
|
|
|
|||
|
|
@ -158,7 +158,7 @@ static const char usage[] =
|
|||
" monotonic increasing time. Not available on all systems.]"
|
||||
"[L:last?List only the last time for multiple \adate\a operands.]"
|
||||
"[l:leap-seconds?Include leap seconds in time calculations. Leap seconds"
|
||||
" after the ast library release date are not accounted for.]"
|
||||
" after the AST library release date are not accounted for.]"
|
||||
"[m:modify-time|mtime?List file argument modify times.]"
|
||||
"[n!:network?Set network time.]"
|
||||
"[p:parse?Add \aformat\a to the list of \bstrptime\b(3) parse conversion"
|
||||
|
|
|
|||
|
|
@ -108,7 +108,7 @@ static const char usage[] =
|
|||
"[+2?Invalid expressions.]"
|
||||
"[+>2?An error occurred.]"
|
||||
"}"
|
||||
"[+SEE ALSO?\bregcomp\b(5), \bgrep\b(1), \bsh\b(1)]"
|
||||
"[+SEE ALSO?\bregcomp\b(3), \bgrep\b(1), \bsh\b(1)]"
|
||||
;
|
||||
|
||||
#include <cmd.h>
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ static const char usage[] =
|
|||
"[-?\n@(#)$Id: logname (AT&T Research) 1999-04-30 $\n]"
|
||||
"[--catalog?" ERROR_CATALOG "]"
|
||||
"[+NAME?logname - return the user's login name]"
|
||||
"[+DESCRIPTION?\blogname\b writes the users's login name to standard "
|
||||
"[+DESCRIPTION?\blogname\b writes the user's login name to standard "
|
||||
"output. The login name is the string that is returned by the "
|
||||
"\bgetlogin\b(2) function. If \bgetlogin\b(2) does not return "
|
||||
"successfully, the name corresponding to the real user ID of the "
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@ static const char usage[] =
|
|||
"option is specified, the delimiter will be reset to the first "
|
||||
"element of \alist\a each time a line is processed from each file. "
|
||||
"The delimiter characters corresponding to \alist\a will be found "
|
||||
"by treating \alist\a as an ANSI-C string, except that the \b\\0\b "
|
||||
"by treating \alist\a as an ANSI C string, except that the \b\\0\b "
|
||||
"sequence will insert the empty string instead of the null character.]"
|
||||
"\n"
|
||||
"\n[file ...]\n"
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ static const char usage[] =
|
|||
"[+NAME?pids - list calling shell process ids]"
|
||||
"[+DESCRIPTION?When invoked as a shell builtin, \bpids\b lists one or "
|
||||
"more of the calling process ids determined by \bgetpid\b(2), "
|
||||
"\bgetppid\b(2), \bgetpgrp\b(2), \btcgetpgrp\b(2) and \bgetsid\b(2). "
|
||||
"\bgetppid\b(2), \bgetpgrp\b(2), \btcgetpgrp\b(3) and \bgetsid\b(2). "
|
||||
"Unknown or invalid ids have the value \b-1\b.]"
|
||||
"[f:format?List the ids specified by \aformat\a. \aformat\a follows "
|
||||
"\bprintf\b(3) conventions, except that \bsfio\b(3) inline ids are used "
|
||||
|
|
@ -44,7 +44,7 @@ static const char usage[] =
|
|||
"[+sid?The session id.]"
|
||||
"}"
|
||||
"[+SEE ALSO?\bgetpid\b(2), \bgetppid\b(2), \bgetpgrp\b(2), "
|
||||
"\btcgetpgrp\b(2), \bgetsid\b(2)]"
|
||||
"\btcgetpgrp\b(3), \bgetsid\b(2)]"
|
||||
;
|
||||
|
||||
#include <cmd.h>
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ static const char usage[] =
|
|||
" \bfsync\b(2) and closing before attempting to remove. Implemented"
|
||||
" only on systems that support \bfsync\b(2).]"
|
||||
"[d:directory?If the current entry is a directory then remove it using "
|
||||
"\brmdir\b(3) instead of the default \bunlink\b(2). If \b--recursive\b "
|
||||
"\brmdir\b(2) instead of the default \bunlink\b(2). If \b--recursive\b "
|
||||
"is not specified then non-empty directories will not be removed.]"
|
||||
"[f:force?Ignore nonexistent files, ignore no file operands specified,"
|
||||
" and never prompt the user.]"
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ static const char usage[] =
|
|||
"[+EXIT STATUS?]"
|
||||
"{"
|
||||
"[+0?All modes reported or set successfully.]"
|
||||
"[+>0?Standard input not a terminaol or one or more modes "
|
||||
"[+>0?Standard input not a terminal or one or more modes "
|
||||
"failed.]"
|
||||
"}"
|
||||
"[+SEE ALSO?\btegetattr\b(2), \btcsetattr\b(2), \bioctl\b(2)]"
|
||||
|
|
@ -200,7 +200,7 @@ static const Tty_t Ttable[] =
|
|||
#if _mem_c_line_termios
|
||||
{ "line", NUM, C_LINE, 0, 0, 0, C("Line discipline number") },
|
||||
#endif
|
||||
{ "min", NUM, T_CHAR, 0, VMIN, 0, C("Mininmum number of characters to read in raw mode") },
|
||||
{ "min", NUM, T_CHAR, 0, VMIN, 0, C("Minimum number of characters to read in raw mode") },
|
||||
{ "time", NUM, T_CHAR, 0, VTIME, 0, C("Number of .1 second intervals with raw mode") },
|
||||
|
||||
{ "parenb", BIT, C_FLAG, 0, PARENB, PARENB, C("Enable (disable) parity generation and detection") },
|
||||
|
|
@ -232,7 +232,7 @@ static const Tty_t Ttable[] =
|
|||
{ "inlcr", BIT, I_FLAG, US, INLCR, INLCR, C("Translate (do not translate) carriage return to newline") },
|
||||
{ "igncr", BIT, I_FLAG, US, IGNCR, IGNCR, C("Ignore (do not ignore) carriage return") },
|
||||
#ifdef IUCLC
|
||||
{ "iuclc", BIT, I_FLAG, US, IUCLC, IUCLC, C("Map (do not map) upper-case to lower case") },
|
||||
{ "iuclc", BIT, I_FLAG, US, IUCLC, IUCLC, C("Map (do not map) uppercase to lowercase") },
|
||||
#endif /* IUCLC */
|
||||
{ "ixon", BIT, I_FLAG, 0, IXON, IXON, C("Enable (disable) XON/XOFF flow control. \bstop\b character stops output") },
|
||||
#ifdef IXANY
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ static const char usage[] =
|
|||
"[+0?All files copies successfully.]"
|
||||
"[+>0?An error occurred.]"
|
||||
"}"
|
||||
"[+SEE ALSO?\bcat\b(1), \bsignal\b(3)]"
|
||||
"[+SEE ALSO?\bcat\b(1), \bsignal\b(2)]"
|
||||
;
|
||||
|
||||
#include <cmd.h>
|
||||
|
|
|
|||
|
|
@ -111,7 +111,7 @@ static int invalid(const char *file, int nlines)
|
|||
}
|
||||
|
||||
/*
|
||||
* handle utf space characters
|
||||
* handle UTF space characters
|
||||
*/
|
||||
|
||||
static int chkstate(int state, register unsigned int c)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue