1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-24 01:22:10 +02:00
tldr/pages/common/pamvalidate.md
Juri Dispan 8b9720a256
pamfixtrunc, pamfix, pamvalidate: add pages (#12406)
* pamfixtrunc, pamfix, pamvalidate: add pages

---------

Co-authored-by: Vitor Henrique <87824454+vitorhcl@users.noreply.github.com>
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2024-03-24 14:15:01 +05:30

305 B

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}}