Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Termux is an Android terminal emulator and Linux environment app with no rooting. Parent comment
$ cat ~/bin/termux-url-opener #!/data/data/com.termux/files/usr/bin/env bash
read -ep "[c]ast or [d]ownload: " -i "c" choice case "${choice}" in c|C) catt cast "${1}" ;; d|D) pip install --upgrade youtube-dl cd ~/storage/movies youtube-dl "${1}" ;; *) echo "Sorry, that's invalid." exit 65 ;; esac
There are no comments on this comment yet.
$ cat ~/bin/termux-url-opener #!/data/data/com.termux/files/usr/bin/env bash
read -ep "[c]ast or [d]ownload: " -i "c" choice case "${choice}" in c|C) catt cast "${1}" ;; d|D) pip install --upgrade youtube-dl cd ~/storage/movies youtube-dl "${1}" ;; *) echo "Sorry, that's invalid." exit 65 ;; esac