mirror of https://github.com/CrimsonTome/tldr.git
pnmsplit, pamsplit, pamexec, pampick: add pages (#12412)
parent
d2f18edf19
commit
7c46ee57e1
|
@ -0,0 +1,13 @@
|
|||
# pamexec
|
||||
|
||||
> Execute a shell command on each image in a Netpbm file.
|
||||
> See also: `pamfile`, `pampick`, `pamsplit`.
|
||||
> More information: <https://netpbm.sourceforge.net/doc/pamexec.html>.
|
||||
|
||||
- Execute a shell command on each image in a Netpbm file:
|
||||
|
||||
`pamexec {{command}} {{path/to/image.pam}}`
|
||||
|
||||
- Stop processing if a command terminates with a nonzero exit status:
|
||||
|
||||
`pamexec {{command}} {{path/to/image.pam}} -check`
|
|
@ -0,0 +1,9 @@
|
|||
# pampick
|
||||
|
||||
> Pick images out of a multi-image Netpbm stream.
|
||||
> See also: `pamfile`, `pamsplit`.
|
||||
> More information: <https://netpbm.sourceforge.net/doc/pampick.html>.
|
||||
|
||||
- Execute a shell command on each image in a Netpbm file:
|
||||
|
||||
`pampick {{image_number1 image_number2 ...}} < {{path/to/image.pam}} > {{path/to/output.pam}}`
|
|
@ -0,0 +1,13 @@
|
|||
# pamsplit
|
||||
|
||||
> Split a multi-image Netpbm file into multiple single-image Netpbm files.
|
||||
> See also: `pamfile`, `pampick`, `pamexec`.
|
||||
> More information: <https://netpbm.sourceforge.net/doc/pamsplit.html>.
|
||||
|
||||
- Split a multi-image Netpbm file into multiple single-image Netpbm files:
|
||||
|
||||
`pamsplit {{path/to/image.pam}}`
|
||||
|
||||
- Specify a pattern for naming output files:
|
||||
|
||||
`pamsplit {{path/to/image.pam}} {{file_%d.pam}}`
|
|
@ -0,0 +1,8 @@
|
|||
# pnmsplit
|
||||
|
||||
> This command is superseded by `pamsplit`.
|
||||
> More information: <https://netpbm.sourceforge.net/doc/pnmsplit.html>.
|
||||
|
||||
- View documentation for the current command:
|
||||
|
||||
`tldr pamsplit`
|
Loading…
Reference in New Issue