Move pages under tldr, lint run.sh, update docs

This commit is contained in:
2024-02-21 13:58:43 +02:00
parent 3d653cc7e6
commit 2c475fa62d
4806 changed files with 36 additions and 35 deletions

22
tldr/ppmhist Normal file
View File

@@ -0,0 +1,22 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# ppmhist
> Print a histogram of the colors present in a PPM image.
> See also: `pgmhist`.
> More information: <https://netpbm.sourceforge.net/doc/ppmhist.html>.
- Generate the histogram for human reading:
`ppmhist -nomap {{path/to/image.ppm}}`
- Generate a PPM file of the colormap for the image, with the color histogram as comments:
`ppmhist -map {{path/to/image.ppm}}`
- Display version:
`ppmhist -version`