dots

Personal dotfiles
git clone git://git.gormless.xyz/dots.git
Log | Files | Refs

samsave (216B)


      1 #!/bin/sh
      2 # Copyright (c) 1998 Lucent Technologies - All rights reserved.
      3 
      4 file=$1
      5 case "$2" in
      6 -f)
      7 	echo "$file"
      8 	cat >$file
      9 	;;
     10 "")
     11 	echo "$file?"
     12 	read yn </dev/tty
     13 	case "$yn" in
     14 	[Yy]*)
     15 		cat >$file
     16 	esac
     17 esac
     18