open-with-fbreader (223B)
1 #!/usr/bin/bash 2 3 tmpdir="$(realpath ~/storage/downloads)" 4 5 tmpfile="$(mktemp --tmpdir="$tmpdir" --suffix=.txt)" 6 7 echo "$tmpdir" "$(realpath "$tmpdir")" "$tmpfile" 8 9 termux-clipboard-get > "$tmpfile" 10 11 termux-share "$tmpfile"