archie/release/B/scripts/aslip
2024-05-28 16:48:29 +02:00

13 lines
250 B
Tcsh
Executable File

#!/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