wok-tiny view lpd-spooling-config/stuff/lpd-helper @ rev 142

Remove ashism ==
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 27 17:43:23 2019 +0100 (6 months ago)
parents e2b369ee537b
children
line source
1 #!/bin/sh
3 n=0
4 for i in $(ls -tr /var/spool); do
5 [ /var/spool/$i = $PWD ] && break
6 n=$(($n+1))
7 done
8 cat ./"$DATAFILE" >/dev/lp$n
9 rm -f ./"$DATAFILE"