mirror of
https://github.com/onceupon/Bash-Oneliner.git
synced 2024-11-29 15:46:35 +00:00
Add commands to download this README
Thanks to Samuel_first's commands on Reddit.
This commit is contained in:
parent
1f17f61bb2
commit
922f7d3f4d
15
README.md
15
README.md
@ -1140,6 +1140,21 @@ job 1 at Wed Apr 18 11:16:00 2018
|
|||||||
|
|
||||||
## Download
|
## Download
|
||||||
[[back to top](#handy-bash-oneliner-commands)]
|
[[back to top](#handy-bash-oneliner-commands)]
|
||||||
|
|
||||||
|
##### Download the content of this README.md (the one your are viewing now)
|
||||||
|
```bash
|
||||||
|
curl https://raw.githubusercontent.com/onceupon/Bash-Oneliner/master/README.md | pandoc -f markdown -t man | man -l -
|
||||||
|
|
||||||
|
# or w3m (a text based web browser and pager)
|
||||||
|
curl https://raw.githubusercontent.com/onceupon/Bash-Oneliner/master/README.md | pandoc | w3m -T text/html
|
||||||
|
|
||||||
|
# or using emacs (in emac text editor)
|
||||||
|
emacs --eval '(org-mode)' --insert <(curl https://raw.githubusercontent.com/onceupon/Bash-Oneliner/master/README.md | pandoc -t org)
|
||||||
|
|
||||||
|
# or using emacs (on terminal, exit using Ctrl + x then Ctrl + c)
|
||||||
|
emacs -nw --eval '(org-mode)' --insert <(curl https://raw.githubusercontent.com/onceupon/Bash-Oneliner/master/README.md | pandoc -t org)
|
||||||
|
```
|
||||||
|
|
||||||
##### Download all from a page
|
##### Download all from a page
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
Loading…
Reference in New Issue
Block a user