Re: vi

2017-11-10 Thread Michael Schwendt
On Fri, 10 Nov 2017 15:58:56 +0100, Dario Lesca wrote: > Il giorno gio, 09/11/2017 alle 13.37 +0100, Patrick Dupre ha scritto: > > Can I make 2 substitutions on a single call with sed? > > Two or more ... > > $ sed -i -e 's/E/e/g' -e 's/Alfa/xx/g' file.txt No -e option is needed, since yo

Re: vi

2017-11-10 Thread Dario Lesca
Il giorno gio, 09/11/2017 alle 13.37 +0100, Patrick Dupre ha scritto: > Can I make 2 substitutions on a single call with sed? Two or more ... $ sed -i -e 's/E/e/g' -e 's/Alfa/xx/g' file.txt -- Dario Lesca (inviato dal mio Linux Fedora 26 Workstation)