Is Python dying?

Salmaso Raffaele nospam at take.it
Thu Apr 8 14:55:06 EDT 1999


On 4 Apr 1999 17:45:54 GMT, warlock at eskimo.com (Jim Richardson) wrote:

If it can help (I use it to print almost everythings).

#!/bin/sh
case $1 in
# quarta e prima
  f) psbook $2 | mpage -bA4 -o -2 -dp | psselect -o -r | lpr ;;
# seconda e terza
  r) psbook $2 | mpage -bA4 -o -2 -dp | psselect -e | lpr ;;
# comando errato
  *) cat << EOF
libretto (c) 1999 Salmaso Raffaele
usage: libretto f/r file.ps
f  print even page
r  print odd page

EOF
;;
esac

--
(o-  T | Unix is simple and coherent , but it takes a genius  to understand
//\  U | and appreciate  its simplicity .
V_/_ X |                                    Dennis Ritchie .
email: r.salmaso (at) flashnet.it | salmaso.raffaele (at) iname.com




More information about the Python-list mailing list