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/xxxxxx/g' file.txt No -e option is needed, since you can concatenate multiple expressions with a ';' character: sed -i 's/E/e/g;s/Alfa/xxxxxx/g' file.txt _______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx