1 2 3 4 5 6 7 8 9 10
#!/bin/sh set -eu if [ $# -lt 1 ]; then topic=$(curl -sSf cht.sh/:list | fzfez) else topic=$* fi curl -sSf cht.sh/"$topic"