10 Easy Examples of GNU sed Command Lines Episode 3 Previously, we provided the first and second articles about GNU sed command line examples. Now it is the third article covering combination between sed and bash to do daily life jobs. We begin to focus in daily life jobs in this episode. This episode is a continuation of our previous articles. So if you miss something here, we suggest you to read the two previous episodes. Text Examples text6.txt: gnu gnu gnu gnu unix bsd bsd bsd bsd unix unix unix unix unix minix minix minix unix As previous articles go, save this file in your /tmp and perform all sed commands there. 21. Run Multiple Commands Command Example: sed -e s/gnu/U&/g -e s/bsd/U&/g text6.txt Output Example: master@master:/tmp$ sed -e s/gnu/U&/g -e s/bsd/U&/g text6.txt GNU GNU GNU GNU unix BSD BSD BSD BSD unix unix unix unix unix minix minix minix unix master@master:/tmp$ Explanation: We see the only different here compared to our previous e...