Sign in
plan9port
/
plan9
/
32c6e78c6c4c13b63d8dc30aa395cfcc6e686c0a
/
.
/
bin
/
samsave
blob: 7d3a0fb07416f7eb7faec2c4ef12a457d5d42041 [
file
] [
log
] [
blame
]
#!/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