diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2020-12-23 01:44:44 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2020-12-23 01:44:44 +0100 |
commit | 2e6a5e704646109a7aaf7dd5a9d3a64475fd0055 (patch) | |
tree | 13a1c1ae6f6a1e1efe50e83120670aa9bd947d16 /rc | |
parent | cad697d6edfefe3209ebf46d5a6d8751bbb0052f (diff) | |
download | plan9front-2e6a5e704646109a7aaf7dd5a9d3a64475fd0055.tar.xz |
fax, psfax, vwhois: use $user instead of /dev/user
Diffstat (limited to 'rc')
-rwxr-xr-x | rc/bin/fax | 1 | ||||
-rwxr-xr-x | rc/bin/psfax | 1 | ||||
-rwxr-xr-x | rc/bin/vwhois | 2 |
3 files changed, 1 insertions, 3 deletions
diff --git a/rc/bin/fax b/rc/bin/fax index 22be347b0..2e7ad1e63 100755 --- a/rc/bin/fax +++ b/rc/bin/fax @@ -46,7 +46,6 @@ shift script=/tmp/fax.$pid header=/tmp/faxh.$pid -user=`{cat /dev/user} tmp=/tmp/fax.g3.$pid tmpin=/tmp/fax.in.$pid tmpps=/tmp/fax.ps.$pid diff --git a/rc/bin/psfax b/rc/bin/psfax index d9d197b4a..43e97deb7 100755 --- a/rc/bin/psfax +++ b/rc/bin/psfax @@ -24,7 +24,6 @@ shift script=/tmp/fax.$pid header=/tmp/faxh.$pid -user=`{cat /dev/user} tmp=/tmp/page.$pid tmpin=/tmp/page.in.$pid tel=`{grep '\) '$user /lib/tel} diff --git a/rc/bin/vwhois b/rc/bin/vwhois index ff8c04fb9..ce4eae803 100755 --- a/rc/bin/vwhois +++ b/rc/bin/vwhois @@ -13,5 +13,5 @@ if(~ $#box 1 && test -f /mnt/plumb/seemail || test -f /mnt/term/mnt/plumb/seemai plumb -dseemail -a 'filetype=vwhois digest='$i.$pid' mailtype=new sender='$i /mail/fs/$box/XXXvwhois } if not for (i){ - echo vwhois: vwhois: vwhois: delivered `{cat /dev/user} From $i '(vwho)' >> /sys/log/mail + echo vwhois: vwhois: vwhois: delivered $user From $i '(vwho)' >> /sys/log/mail } |