ref: 0231537cbac846087f5ac132aba5c97ec9d4cffa dir: /sys/lib/samsave/
#!/bin/rc file=$1 switch($#*){ case 1 echo -n $file'?' yn=`{read < /dev/cons} if(~ $yn y){ cat > $file } case 2 /bin/echo $file /bin/cat > $file }