file - what is the equivalent of the instruction sed -i in solaris? -
i searching equivalent of line:
sed -e /$line/d -i tels/telephonenumbers.txt it works fine in ubuntu, fedora, opensuse , cygwin, not work in solaris, find can use loop, trying avoid use of loop. suggestions?
sed -e "/$line/d" tels/telephonenumbers.txt > tmp && mv tmp tels/telephonenumbers.txt
Comments
Post a Comment