[comp.editors] Vi Reference - patch 1

maart@cs.vu.nl (Maarten Litmaath) (08/04/89)

Thanks to Rich Salz <rsalz@bbn.com>.

: This is a shar archive.  Extract with sh, not csh.
: This archive ends with exit, so do not worry about trailing junk.
: --------------------------- cut here --------------------------
PATH=/bin:/usr/bin:/usr/ucb
echo Extracting 'vi.ref.diff'
sed 's/^X//' > 'vi.ref.diff' << '+ END-OF-FILE ''vi.ref.diff'
X*** vi.ref	Wed Aug  2 19:23:31 1989
X--- vi.ref.new	Wed Aug  2 19:24:09 1989
X***************
X*** 307,312 ****
X--- 307,314 ----
X  			| lines described by <*><move>, next the standard
X  			| output replaces those lines
X  			| (think of cb, sort, nroff, etc.)
X+ [*]!<move>!<args>	| append <args> to the last <cmd> and execute it,
X+ 			| using the lines described by the current <*><move>
X  [*]!!<cmd>		| give <*> lines as standard input to the shell <cmd>,
X  			| next let the standard output replace those lines
X  :x,y w !<cmd>		| let lines x to y be standard input for <cmd>
+ END-OF-FILE vi.ref.diff
chmod 'u=rw,g=r,o=r' 'vi.ref.diff'
set `wc -c 'vi.ref.diff'`
count=$1
case $count in
573)	:;;
*)	echo 'Bad character count in ''vi.ref.diff' >&2
		echo 'Count should be 573' >&2
esac
exit 0
-- 
"Mom! Eric Newton broke the day! In 24   |Maarten Litmaath @ VU Amsterdam:
  parts!" (Mike Schmitt in misc.misc)    |maart@cs.vu.nl, mcvax!botter!maart