ref: 0d4b5b8a8a6e38faf3a07774f97dbf66797f8dea 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 }