All pastes #184508 Raw Edit

Untitled

public text v1 · immutable
#184508 ·published 2006-09-27 23:42 UTC
rendered paste body
#!/bin/ksh

fred=wilma
barney=betty
nnnn=2060
clear
variable=bedrock.ksh

echo "$fred and $barney are so Sixties (2060 B.C. that is)"
echo
echo "Fred will retire $RETIRE years after the year $((nnnn-RETIRE)) B.C."
echo


if [ -d ~/bak ]; then

exit 2> /dev/null

else

mkdir ~/bak

cp ${variable} ~/bak/${variable}_bak

fi