diff options
author | Elliott Hughes <enh@google.com> | 2017-05-25 17:56:11 -0700 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2017-05-26 02:01:57 -0500 |
commit | eb7e847adcecf11cd8fd99077ba3a582abe60146 (patch) | |
tree | dbd4676b2b1b2d072cead3beefa52de3a081e820 /toys/posix | |
parent | 8ab2d8a3fc7be48f327037c477bd58d038ea13b5 (diff) | |
download | toybox-eb7e847adcecf11cd8fd99077ba3a582abe60146.tar.gz |
Be more consistent about periods in help text.
Diffstat (limited to 'toys/posix')
-rw-r--r-- | toys/posix/cat.c | 8 | ||||
-rw-r--r-- | toys/posix/chgrp.c | 4 | ||||
-rw-r--r-- | toys/posix/cut.c | 12 | ||||
-rw-r--r-- | toys/posix/df.c | 2 | ||||
-rw-r--r-- | toys/posix/echo.c | 2 | ||||
-rw-r--r-- | toys/posix/head.c | 2 | ||||
-rw-r--r-- | toys/posix/mkdir.c | 4 | ||||
-rw-r--r-- | toys/posix/od.c | 2 | ||||
-rw-r--r-- | toys/posix/rmdir.c | 2 | ||||
-rw-r--r-- | toys/posix/sed.c | 8 | ||||
-rw-r--r-- | toys/posix/sort.c | 2 | ||||
-rw-r--r-- | toys/posix/tail.c | 2 | ||||
-rw-r--r-- | toys/posix/tee.c | 4 |
13 files changed, 27 insertions, 27 deletions
diff --git a/toys/posix/cat.c b/toys/posix/cat.c index 4da2ec27..bc77f04b 100644 --- a/toys/posix/cat.c +++ b/toys/posix/cat.c @@ -19,7 +19,7 @@ config CAT Copy (concatenate) files to stdout. If no files listed, copy from stdin. Filename "-" is a synonym for stdin. - -u Copy one byte at a time (slow). + -u Copy one byte at a time (slow) config CAT_V bool "cat -etv" @@ -30,8 +30,8 @@ config CAT_V -e Mark each newline with $ -t Show tabs as ^I - -v Display nonprinting characters as escape sequences. Use M-x for - high ascii characters (>127), and ^x for other nonprinting chars. + -v Display nonprinting characters as escape sequences with M-x for + high ascii characters (>127), and ^x for other nonprinting chars config CATV bool "catv" @@ -44,7 +44,7 @@ config CATV -e Mark each newline with $ -t Show tabs as ^I - -v Don't use ^x or M-x escapes. + -v Don't use ^x or M-x escapes */ #define FOR_cat diff --git a/toys/posix/chgrp.c b/toys/posix/chgrp.c index 62e9eb1d..e6ea9a45 100644 --- a/toys/posix/chgrp.c +++ b/toys/posix/chgrp.c @@ -18,11 +18,11 @@ config CHGRP -f suppress most error messages. -h change symlinks instead of what they point to - -R recurse into subdirectories (implies -h). + -R recurse into subdirectories (implies -h) -H with -R change target of symlink, follow command line symlinks -L with -R change target of symlink, follow all symlinks -P with -R change symlink, do not follow symlinks (default) - -v verbose output. + -v verbose output config CHOWN bool "chown" diff --git a/toys/posix/cut.c b/toys/posix/cut.c index 13be5e74..2cb3ef19 100644 --- a/toys/posix/cut.c +++ b/toys/posix/cut.c @@ -17,12 +17,12 @@ config CUT Print selected parts of lines from each FILE to standard output. - -b LIST select only these bytes from LIST. - -c LIST select only these characters from LIST. - -f LIST select only these fields. - -d DELIM use DELIM instead of TAB for field delimiter. - -s do not print lines not containing delimiters. - -n don't split multibyte characters (Ignored). + -b LIST select only these bytes from LIST + -c LIST select only these characters from LIST + -f LIST select only these fields + -d DELIM use DELIM instead of TAB for field delimiter + -s do not print lines not containing delimiters + -n don't split multibyte characters (ignored) */ #define FOR_cut #include "toys.h" diff --git a/toys/posix/df.c b/toys/posix/df.c index eb506a4c..9c6b2c3f 100644 --- a/toys/posix/df.c +++ b/toys/posix/df.c @@ -21,7 +21,7 @@ config DF -k Sets units back to 1024 bytes (the default without -P) -h Human readable output (K=1024) -H Human readable output (k=1000) - -t type Display only filesystems of this type. + -t type Display only filesystems of this type Pedantic provides a slightly less useful output format dictated by Posix, and sets the units to 512 bytes instead of the default 1024 bytes. diff --git a/toys/posix/echo.c b/toys/posix/echo.c index 33de6781..f16b7910 100644 --- a/toys/posix/echo.c +++ b/toys/posix/echo.c @@ -20,7 +20,7 @@ config ECHO Write each argument to stdout, with one space between each, followed by a newline. - -n No trailing newline. + -n No trailing newline -e Process the following escape sequences: \\ backslash \0NNN octal values (1 to 3 digits) diff --git a/toys/posix/head.c b/toys/posix/head.c index f300760d..e3d78866 100644 --- a/toys/posix/head.c +++ b/toys/posix/head.c @@ -15,7 +15,7 @@ config HEAD Copy first lines from files to stdout. If no files listed, copy from stdin. Filename "-" is a synonym for stdin. - -n Number of lines to copy. + -n Number of lines to copy */ #define FOR_head diff --git a/toys/posix/mkdir.c b/toys/posix/mkdir.c index 95bdf333..e88a2988 100644 --- a/toys/posix/mkdir.c +++ b/toys/posix/mkdir.c @@ -14,8 +14,8 @@ config MKDIR Create one or more directories. - -m set permissions of directory to mode. - -p make parent directories as needed. + -m set permissions of directory to mode + -p make parent directories as needed -v verbose config MKDIR_Z diff --git a/toys/posix/od.c b/toys/posix/od.c index 5ccea58c..ea7f6ac5 100644 --- a/toys/posix/od.c +++ b/toys/posix/od.c @@ -20,7 +20,7 @@ config OD plus optional size in bytes aliases: -b=-t o1, -c=-t c, -d=-t u2, -o=-t o2, -s=-t d2, -x=-t x2 -v Don't collapse repeated lines together - -w Total line width in bytes (default 16). + -w Total line width in bytes (default 16) */ #define FOR_od diff --git a/toys/posix/rmdir.c b/toys/posix/rmdir.c index 7421bb38..90920ef6 100644 --- a/toys/posix/rmdir.c +++ b/toys/posix/rmdir.c @@ -14,7 +14,7 @@ config RMDIR Remove one or more directories. - -p Remove path. + -p Remove path */ #include "toys.h" diff --git a/toys/posix/sed.c b/toys/posix/sed.c index 2fcd7624..cf7d15e9 100644 --- a/toys/posix/sed.c +++ b/toys/posix/sed.c @@ -23,10 +23,10 @@ config SED -e add SCRIPT to list -f add contents of SCRIPT_FILE to list - -i Edit each file in place. - -n No default output. (Use the p command to output matched lines.) - -r Use extended regular expression syntax. - -E Alias for -r. + -i Edit each file in place + -n No default output (use the p command to output matched lines) + -r Use extended regular expression syntax + -E Alias for -r -s Treat input files separately (implied by -i) A SCRIPT is a series of one or more COMMANDs separated by newlines or diff --git a/toys/posix/sort.c b/toys/posix/sort.c index 2b0f5c08..1cb5b191 100644 --- a/toys/posix/sort.c +++ b/toys/posix/sort.c @@ -33,7 +33,7 @@ config SORT_BIG -d dictionary order (use alphanumeric and whitespace chars only) -f force uppercase (case insensitive sort) -i ignore nonprinting characters - -M month sort (jan, feb, etc). + -M month sort (jan, feb, etc) -x Hexadecimal numerical sort -s skip fallback sort (only sort with keys) -z zero (null) terminated lines diff --git a/toys/posix/tail.c b/toys/posix/tail.c index 22b5ac6d..675d815d 100644 --- a/toys/posix/tail.c +++ b/toys/posix/tail.c @@ -17,7 +17,7 @@ config TAIL Copy last lines from files to stdout. If no files listed, copy from stdin. Filename "-" is a synonym for stdin. - -n output the last NUMBER lines (default 10), +X counts from start. + -n output the last NUMBER lines (default 10), +X counts from start -c output the last NUMBER bytes, +NUMBER counts from start -f follow FILE(s), waiting for more data to be appended diff --git a/toys/posix/tee.c b/toys/posix/tee.c index 6167c8ad..5936b7b3 100644 --- a/toys/posix/tee.c +++ b/toys/posix/tee.c @@ -15,8 +15,8 @@ config TEE Copy stdin to each listed file, and also to stdout. Filename "-" is a synonym for stdout. - -a append to files. - -i ignore SIGINT. + -a append to files + -i ignore SIGINT */ #define FOR_tee |