[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [shell-script] Alterar texto
From: |
Flavio Junior |
Subject: |
Re: [shell-script] Alterar texto |
Date: |
Tue, 1 Jul 2008 10:59:29 -0300 |
$ sed 's/\.\ [a-z]/\U&/g' arquivo.txt
--
Flávio do Carmo Júnior aka waKKu
2008/7/1 Anderson <address@hidden>:
> 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 ?
>
>
- Alterar texto, Anderson, 2008/07/01
- Re: [shell-script] Alterar texto,
Flavio Junior <=