From b9b5cea4eda1c011cfc2e18c8b89987d4298cb7c Mon Sep 17 00:00:00 2001 From: rsc Date: Sat, 11 Oct 2003 03:55:45 +0000 Subject: Extra sam scripts. --- bin/samsave | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 bin/samsave (limited to 'bin/samsave') diff --git a/bin/samsave b/bin/samsave new file mode 100755 index 00000000..7d3a0fb0 --- /dev/null +++ b/bin/samsave @@ -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 $file + esac +esac + -- cgit v1.2.3