# turn a pdf list into a usable http file for a web server. ls *.pdf > pdflista cut -d "." -f1 pdflista > descripts sed -i -e 's/^//' pdflista paste -d "" pdflista descripts > pdflista.html sed -i 's/$/\<\/a\>\
/' pdflista.html echo "" > index.html echo "" >> index.html echo "

PDF list

" >> index.html echo "
" >> index.html cat pdflista.html >> index.html echo "" >> index.html echo "" >> index.html