Extra sam scripts.

This commit is contained in:
rsc 2003-10-11 03:55:45 +00:00
parent 00b80edb97
commit b9b5cea4ed
2 changed files with 51 additions and 0 deletions

18
bin/samsave Executable file
View file

@ -0,0 +1,18 @@
#!/bin/sh
# Copyright (c) 1998 Lucent Technologies - All rights reserved.
file=$1
case "$2" in
-f)
echo "$file"
cat >$file
;;
"")
echo "$file?"
read yn </dev/tty
case "$yn" in
[Yy]*)
cat >$file
esac
esac