![]() |
|
|
google unix.com
|
|||||||
| Fóruns | Registar | Fórum Regimento | Ligações | Álbuns | FAQ | Lista deputados | Calendário | Pesquisa | Today's Posts | Mark Forums Read |
| Programação Shell Script e Post perguntas sobre ksh, CSH, SH, BASH, Perl, PHP, SED, Awk e outros scripts shell e shell scripts línguas aqui. |
Mais UNIX e Linux Fórum Tópicos Você pode achar Helpfull
|
||||
| Fio | Thread Starter | Fórum | Respostas | Última postagem |
| Perl para fazer a varredura de volta linhas | gholdbhurg | Programação Shell Script e | 3 | 03-18-2008 12:33 |
| Referência: WebObjects 5.4.1 Referência | iBot | UNIX e Linux RSS Notícias | 0 | 03-11-2008 09:50 |
| Clipboard Modifier 0.2.0 (Default sucursal) | iBot | Software Release - RSS Notícias | 0 | 01-02-2008 05:00 |
| voltar referência erro | apoorvasharma80 | Programação Shell Script e | 4 | 08-22-2006 11:25 |
| Referência array bidimensional em Perl sub | fóton | Programação Shell Script e | 5 | 04-16-2003 05:52 |
|
|
Linkback | Thread Tools | Pesquisar este Thread | Rate Thread | Display Modes |
|
||||
|
Perl: Voltando de referência s modificador
Minha entrada pattens tem o seguinte texto: Código:
func_a(3,
4,
5);
Gostaria de substituí-lo com isto: Código:
func_b(3,
4,
5,
6);
Estou tentando o seguinte expressão, mas ela não funciona: Código:
perl -p -e "s/func_a\((.*)?\);/func_b(\1,\n6)/s" < file |more Qualquer idéias? Obrigado. |
| Marcadores |
| Thread Tools | Pesquisar este Thread |
| Display Modes | Esta taxa Thread |
|
|