1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-01 18:35:23 +02:00

pages*: replaced cat with shell redirection (linux)

This commit is contained in:
jtmr05 2025-06-22 16:04:58 +01:00
parent 20bec74f2b
commit 9198887a99
4 changed files with 6 additions and 6 deletions

View file

@ -9,7 +9,7 @@
- Play the mp3 from `stdin`:
`cat {{file.mp3}} | mpg123 -`
`mpg123 - < {{file.mp3}}`
- Jump forward to the next song:

View file

@ -6,15 +6,15 @@
- Read a text file at a specific speed:
`cat {{path/to/file.txt}} | speedread -wpm {{250}}`
`speedread -wpm {{250}} < {{path/to/file.txt}}`
- Resume from a specific line:
`cat {{path/to/file.txt}} | speedread -resume {{5}}`
`speedread -resume {{5}} < {{path/to/file.txt}}`
- Show multiple words at a time:
`cat {{path/to/file.txt}} | speedread -multiword`
`speedread -multiword < {{path/to/file.txt}}`
- Slow down by 10% during the reading session:

View file

@ -29,7 +29,7 @@
- Merge the authorization entries from a specific file into the authorization database:
`cat {{path/to/file}} | xauth merge -`
`xauth merge - < {{path/to/file}}`
- Display help:

View file

@ -9,7 +9,7 @@
- Use the contents of a file as input of the clipboard:
`cat {{path/to/file}} | xsel {{[-ib|--input --clipboard]}}`
`xsel {{[-ib|--input --clipboard]}} < {{path/to/file}}`
- Output the clipboard's contents into the terminal (equivalent to `<Ctrl v>`):