sed: how to capitalize replacement text?

Brian Holtz brian at caen.engin.umich.edu
Tue Apr 4 07:41:00 AEST 1989


Is there a way to uppercase the pattern text in the replacement text
with sed's substitute command?  In ex/vi, you just say
	s/regexp/\U&/
but not, apparently, in sed/ed.



More information about the Comp.unix.questions mailing list