|
|
1.1 ! root 1: #!/bin/sh ! 2: dialstring=`qns value in $1` ! 3: case "$dialstring" in ! 4: "") ;; ! 5: *) lpsend $dialstring tcp printer ! 6: esac ! 7: quux=$? ! 8: case $quux in ! 9: 0) ;; ! 10: *) echo lpsend $1 tcp fails with $quux ! 11: dialstring=`qns value dk $1` ! 12: case "$dialstring" in ! 13: "") ;; ! 14: *) lpsend $dialstring dk printer ! 15: esac ! 16: esac ! 17: exit $?
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.