mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-31 01:41:42 +00:00
22 lines
600 B
Plaintext
22 lines
600 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# ipaggmanip
|
|
|
|
> Manipulate aggregate statistics produced by `ipaggcreate`.
|
|
> More information: <https://manned.org/ipaggmanip>.
|
|
|
|
- Combine labels equal in their high-order bits:
|
|
|
|
`ipaggmanip --prefix {{16}} {{path/to/file}}`
|
|
|
|
- Remove labels with a count smaller than a given number of bytes and output a random sample of such labels:
|
|
|
|
`ipaggmanip --cut-smaller {{100}} --cull-labels {{5}} {{path/to/file}}`
|
|
|
|
- Replace each label's count with 1 if it is non-zero:
|
|
|
|
`ipaggmanip --posterize {{path/to/file}}`
|