[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [shell-script] Ajuda Com Shell
From: |
itamarnet |
Subject: |
Re: [shell-script] Ajuda Com Shell |
Date: |
19 Oct 2018 11:56:19 -0700 |
Caro Vinícius
Não entendi o excesso de escapes que vc usou, alguns eram desnecessários pelo que vi.
Então no lugar da barra (/) com o s vc pode usar qualquer caractere que o sed vai entender, e no caso vou usar o pipe ( | )
De:
sed 's/ON RUNCYCLE.*$/ON RUNCYCLE TODA_PRIMEIRA_QUARTA_JAN VALIDFROM 01\/02\/2019 "\FREQ=\MONTHLY;\INTERVAL=\12;\BYDAY=\1WE"\/'
Para:
sed 's|ON RUNCYCLE.*$|ON RUNCYCLE TODA_PRIMEIRA_QUARTA_JAN VALIDFROM 01/02/2019 "FREQ=MONTHLY;INTERVAL=12;BYDAY=1WE"|'
[]'s
Itamar
- Re: [shell-script] Ajuda Com Shell, Luiz Alberto Monteiro, 2018/10/19
- Re: [shell-script] Ajuda Com Shell, Vinicius Ruiz, 2018/10/19
- Re: [shell-script] Ajuda Com Shell, Vinicius Ruiz, 2018/10/19
- Re: [shell-script] Ajuda Com Shell, Jonathan Lessa, 2018/10/19
- Re: [shell-script] Ajuda Com Shell,
itamarnet <=
- Re: [shell-script] Ajuda Com Shell, Vinicius Ruiz, 2018/10/19
- Re: [shell-script] Ajuda Com Shell, itamarnet, 2018/10/19
- Re: [shell-script] Ajuda Com Shell, Vinicius, 2018/10/19
- Re: [shell-script] Ajuda Com Shell, T.Collons, 2018/10/20
- Re: [shell-script] Ajuda Com Shell, Vinicius Ruiz, 2018/10/22