$ sed 's/\.\ [a-z]/\U&/g' arquivo.txt

--

Flávio do Carmo Júnior aka waKKu

2008/7/1 Anderson <[EMAIL PROTECTED]>:
> Tenho um texto com 10000 linhas onde tenho a seguinte situção."Texto
> texto. texto texto texto texto (continua . . .)" Como faço para sempre
> que ocorrer a string ". texto "(ponto espaço texto) eu tranforme o "t"
> logo após o espaço em "T", ou seja , "Texto texto. Texto texto texto
> texto . . .".
> Consigo fazer com o sed informando todos os casos sed 's/\. a/\. A/g',
> sed 's/\. b/\. B/g' . . . Existe uma forma mais elegante ?
>
> 

Responder a