Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!caen.engin.umich.edu!brian From: brian@caen.engin.umich.edu (Brian Holtz) Newsgroups: comp.unix.questions Subject: sed: how to capitalize replacement text? Keywords: sed Message-ID: <426b0af2.142c4@retina.engin.umich.edu> Date: 3 Apr 89 21:41:00 GMT Distribution: na Organization: U of M Engineering, Ann Arbor, Mich. Lines: 5 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.