9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] A patch for boddle
@ 1997-12-04  9:21 arisawa
  0 siblings, 0 replies; only message in thread
From: arisawa @ 1997-12-04  9:21 UTC (permalink / raw)


Hello 9fans!

This is a patch for boddle.
Original boddle fails to modify for write-protected source file.
We should execute chmod in prior to enter ed.

Old code:
	echo 'cp $srcdir/'$1 $target
	echo 'ed' $target '>/dev/null >[2=1] <<''//GO.SYSIN DD VADIM '$1''''

New code:
	echo 'cp $srcdir/'$1 $target
	echo 'chmod +w' $target
	echo 'ed' $target '>/dev/null >[2=1] <<''//GO.SYSIN DD VADIM '$1''''

Kenji Arisawa
E-mail: arisawa@aichi-u.ac.jp




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-12-04  9:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-12-04  9:21 [9fans] A patch for boddle arisawa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).