diff --git a/tldr/aria2c b/tldr/aria2c index fcbbce5b..ae88fd41 100644 --- a/tldr/aria2c +++ b/tldr/aria2c @@ -23,7 +23,7 @@ source: https://github.com/tldr-pages/tldr.git - Download the same file from different mirrors and verify the checksum of the downloaded file: -`aria2c --checksum={{sha-256}}={{hash}} "{{url1}}" "{{url2}}" "{{urlN}}"` +`aria2c --checksum {{sha-256}}={{hash}} "{{url1}}" "{{url2}}" "{{urlN}}"` - Download the URIs listed in a file with a specific number of parallel downloads: diff --git a/tldr/cut b/tldr/cut index f2b2ac9d..9eb38614 100644 --- a/tldr/cut +++ b/tldr/cut @@ -8,14 +8,18 @@ source: https://github.com/tldr-pages/tldr.git > Cut out fields from `stdin` or files. > More information: . -- Print a specific character/field range of each line: +- Print a specific [c]haracter/[f]ield range of each line: `{{command}} | cut --{{characters|fields}} {{1|1,10|1-10|1-|-10}}` -- Print a field range of each line with a specific delimiter: +- Print a [f]ield range of each line with a specific [d]elimiter: `{{command}} | cut --delimiter "{{,}}" --fields {{1}}` -- Print a character range of each line of the specific file: +- Print a [c]haracter range of each line of the specific file: `cut --characters {{1}} {{path/to/file}}` + +- Print specific [f]ields of `NUL` terminated lines (e.g. as in `find . -print0`) instead of newlines: + +`{{command}} | cut --zero-terminated --fields {{1}}` diff --git a/tldr/fastfetch b/tldr/fastfetch index 1318a369..714f2308 100644 --- a/tldr/fastfetch +++ b/tldr/fastfetch @@ -12,6 +12,10 @@ source: https://github.com/tldr-pages/tldr.git `fastfetch` +- Display system information without a logo and escape sequences: + +`fastfetch --pipe` + - Fetch a specific structure: `fastfetch --structure {{structure}}` diff --git a/tldr/sunicontopnm b/tldr/sunicontopnm new file mode 100644 index 00000000..509bdce4 --- /dev/null +++ b/tldr/sunicontopnm @@ -0,0 +1,13 @@ +--- +syntax: markdown +tags: [tldr, common] +source: https://github.com/tldr-pages/tldr.git +--- +# sunicontopnm + +> Convert a Sun icon into a Netpbm image. +> More information: . + +- Convert a Sun icon into a Netpbm image: + +`sunicontopnm {{path/to/input.ico}} > {{path/to/output.pbm}}`