1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/pamvalidate.md

10 lines
305 B
Markdown
Raw Normal View History

# pamvalidate
> Validate PAM, PGM, PBM and PPM files.
> See also: `pamfile`, `pamfix`.
> More information: <https://netpbm.sourceforge.net/doc/pamvalidate.html>.
- Copy a Netpbm file from `stdin` to `stdout` if and only if it valid; fail otherwise:
`{{command}} | pamvalidate > {{path/to/output.ext}}`