1. Plucker to the masses

    Here's a little shell script I made to convert the html files in a directory to plucker format e-books:

    #!/bin/sh
    ORIGINAL_IFS=$IFS
    IFS=$'\n'
    for file in $1*.html; do
      plucker-build -f $2`basename $(echo $file|sed -e "s/ /\\\ /g") .html` file:$file
    done
    IFS=$ORIGINAL_IFS`
    

    You call it …

    read more

 

social