ref: abf8a2b5e3deff0a2b1b29b0bfb86f22d874f9b5 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 }