Re: [dev] reading an epub book with less: adventures in text processing
On Sat, Mar 9, 2024, at 1:15 PM, Greg Minshall wrote:
> for some personal tastes/usage cases, this, using pandoc's `-t`
> option, might be minor-ly simpler:
> ----
> man --local-file --pager 'less -ir' \
> <(pandoc --standalone -t man \
> 2015.31233.Arab-Geographers-Knowledge-Of-Southern-India.epub) | less
> ----
Very cool command. Good idea to use process substitution. Here is another way of doing it:
pandoc --standalone -t man City_of_Truth-Morrow.epub | man /dev/stdin
but I don't know how portable /dev/stdin is.
Received on Mon Mar 11 2024 - 16:18:05 CET
This archive was generated by hypermail 2.3.0
: Mon Mar 11 2024 - 17:12:08 CET