9fans archive / 1997 / 12 / 4 / prev next From: arisawa@pla... arisawa@pla... Subject: [9fans] A patch for boddle Date: Thu, 4 Dec 1997 18:21:17 +0900 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@aic...