Hello,
At first you have to use a \ with the last two / and then add a & to copy the line
Here is my solution :
%s/.*/perl -e"s\/string1\/string2\/g" &
@+
Lolo
Hello,
Is the script executable ? (chmod +x script.sh)
some awk don't recognize the getline subfunction try other version of awk. Look at this file for example and check with your OS :
http://www.shelldorado.com/articles/awkcompat.html
PS :
hey marsd, I USE gsub ;-)
@+
Lolo
John was...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.