diff options
author | Jakub Wilk <jwilk@jwilk.net> | 2017-02-15 20:58:24 +0100 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2017-02-16 14:26:47 +0100 |
commit | 947081dab878ca09c5d57af74c3b9530af929509 (patch) | |
tree | 0c7123b3bc0eab5849bb6bb18134008915750c32 | |
parent | 15af1a7e7a605767d03f0fb60e4359b0523622e0 (diff) | |
download | xe-947081dab878ca09c5d57af74c3b9530af929509.tar.gz xe-947081dab878ca09c5d57af74c3b9530af929509.tar.xz xe-947081dab878ca09c5d57af74c3b9530af929509.zip |
fix typos
-rw-r--r-- | README.md | 8 | ||||
-rw-r--r-- | xe.1 | 6 |
2 files changed, 7 insertions, 7 deletions
diff --git a/README.md b/README.md index 12761b6..7c8b2b9 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ or arguments, which includes the best features of `xargs(1)` and Over xargs: * Sane defaults (behaves like `xargs -d'\n' -I{} -n1 -r`). -* No weird parsing, arguments are seperated linewise or by NUL byte. +* No weird parsing, arguments are separated linewise or by NUL byte. * Can also take arguments from command-line. * No shell involved unless `-s` is used. * `{}` replacing possible with multiple arguments. @@ -28,14 +28,14 @@ Over apply: | -a COMMAND... -- ARGS... | -A ARGSEP COMMAND... ARGSEP ARGS... -* `-0`: input filenames are seperated by NUL bytes (default: newlines). +* `-0`: input filenames are separated by NUL bytes (default: newlines). * `-F`: fatal: stop after first failing command. * `-R`: return with status 122 when no arguments have been passed. * `-n`: don't run the commands, just print them. * `-v`: print commands to standard error before running them. -* `-I`: replace occurences of *arg* with the argument(s) (default: `{}`). +* `-I`: replace occurrences of *arg* with the argument(s) (default: `{}`). Use an empty *arg* to disable the replace function. -* `-N`: pass upto *maxargs* arguments to each COMMAND (default: 1). +* `-N`: pass up to *maxargs* arguments to each COMMAND (default: 1). `-N0` will pass as many arguments as possible. * `-j`: run up to *maxjobs* processes concurrently. `-j0` will run as many processes as there are CPU cores running. diff --git a/xe.1 b/xe.1 index 612d5bd..6f7e4e0 100644 --- a/xe.1 +++ b/xe.1 @@ -77,7 +77,7 @@ is used to distinguish between command and arguments. The options are as follows: .Bl -tag -width Ds .It Fl 0 -Input filenames are seperated by NUL bytes (instead of newlines, which +Input filenames are separated by NUL bytes (instead of newlines, which is the default) .It Fl F Fatal: @@ -92,7 +92,7 @@ Dry run: don't run the commands, just print them. .It Fl v Verbose: print commands to standard error before running them. .It Fl I Ar arg -Replace occurences of +Replace occurrences of .Ar arg (default: .Cm {} ) @@ -140,7 +140,7 @@ if the command cannot be run .It 127 if the command was not found .It 1 -if some other error occured +if some other error occurred .El .Pp Additionally, 122 is returned when |