archie/release/scripts/aslip

13 lines
250 B
Plaintext
Raw Normal View History

2024-05-27 20:18:02 +02:00
#!/bin/csh
set DBIN=~archie/bin
set T=telnet-client
set tc=$DBIN/$T
set otc=$DBIN/$T-
set ntc=$DBIN/$T+
if ( -f $T ) then
cp $tc $ntc && cp $T $ntc && rm -f $otc && ln $tc $otc && mv $ntc $tc
else
echo "Error: $T not in current directory"
endif