Better version of "print" for 4.2 BSD (Shell script)

Guido van Rossum guido at mcvax.UUCP
Wed Mar 21 04:55:44 AEST 1984


#!/bin/sh
#
# Print command -- better than /usr/ucb/print which mishandles files with
# quotes in their names due to C-shell braindamage.
#
case $# in
0) exec lpr -p;;
*) exec lpr -p "$@";;
esac



More information about the Comp.bugs.4bsd.ucb-fixes mailing list