Today’s tiny irony: The netmask application is listed in AUR but points to Debian as its source. I enjoy that when it happens. 😉
As best I can tell, netmask does only one small thing:
Shows the netmask for target addresses, either locally or in The Great Beyond.
I see that it has a few options to it, for showing results in a variety of formats. I’m sure one will fit your needs.
Try as I might, I don’t see where it does much else. Perhaps it is complete in its simplicity … ? 😕
Regardless, I’m sure someone will clue me in, if I’ve overlooked netmask’s grandest feat. 😐
Hello. I know this is offtopic stuff, but I tweaked a console EPUB reader based on existing code from http://edu.iki.fi/blog/posts/Reading_epub_in_terminal/ (the existing one didn’t look for XML based ebooks) . You just need “html2text” and “unzip”.
Here is the code:
###epub.sh####
if [[ -z “$1” ]]
then echo “Usage: ./epub.sh book.epub”
exit
fi
FILELIST=`zipinfo -1 “$1″ | grep -E ‘\.xml|\.html’ |sort`
TEXT=””
for FILE in $FILELIST
do
TEXT=”$TEXT `unzip -caa “$1” “$FILE” | html2text -width 70`”
done
echo “$TEXT” |less
###end####
Cool. If you don’t mind, I’ll add it to the list for the E section, and give it a test when I get back around the alphabet. Which should be in … 2019. 😯 😉
Oh, then just rename the script to something like … novel-cli 😉
Just kidding. Anyway, give thanks to the author if you want, http://edu.iki.fi/index.html I just added XML support thanks to a regex change to grep and a message for wrong typed arguments.
The script is easily hackable. Instead of ‘echo “$TEXT’ |less”, you just can replace it with a speech synthetizer like Festival, and enjoy listening a ebook if you are busy at work.
#####code
###choose whatever TTS engine you want
TTS=”festival –tts”
#TTS=”espeak -v en -p 40 -s 140″
#TTS=”flite”
echo $TEXT” | $TTS 2> /dev/null
###code
Enjoy and thanks for your efforts.
Pingback: epub.sh: Me and Anders and Esko | Inconsolation