History substitution

MIKA KOISTINEN PHONE 971-311796 MMKOISTINEN at uku.fi
Fri Mar 2 23:28:19 AEST 1990


Hello,

	My problem is how to replace all occurances of substring 
in history substitution. (In csh)

for example

	echo aaaaaaaaa
        !:gs/a/b
i get
	echo baaaaaaaa

	echo aa ab aaaa
	!:gs/a/b
	echo ba bb baaa
What's wrong ?

<.mika>
 Mika Koistinen    * Kraftwerk   : I program my home computer
 Myll{rintie 57F62 * Dire Straits: That ain't working thats the way you do it
 70780 KUOPIO      * funet: kylk36::mmkoistinen  BITNET: MMKOISTI at FINKUO
 FINLAND           * internet: mmkoistinen at uku.fi 



More information about the Comp.unix.questions mailing list