chronic, combine, ifdata, ifne, isutf8: add pages (#12114)
* chronic, combine, ifdata, ifne, isutf8: add pages --------- Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com>
This commit is contained in:
12
pages/common/ifne.md
Normal file
12
pages/common/ifne.md
Normal file
@@ -0,0 +1,12 @@
|
||||
# ifne
|
||||
|
||||
> Run a command depending on the emptyness of `stdin`.
|
||||
> More information: <https://joeyh.name/code/moreutils/>.
|
||||
|
||||
- Run the specified command if and only if `stdin` is not empty:
|
||||
|
||||
`ifne {{command options ...}}`
|
||||
|
||||
- Run the specified command if and only if `stdin` is empty, otherwise pass `stdin` to `stdout`:
|
||||
|
||||
`ifne -n {{command options ...}}`
|
Reference in New Issue
Block a user