var="ligne1\nligne2\nligne3\nligne4\nligne5"echo -e "$var"echo -e "$var" | sed '3 s/e3/e n° 3/'
Standard input is empty
ligne1 ligne2 ligne3 ligne4 ligne5 ligne1 ligne2 ligne n° 3 ligne4 ligne5
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!