Hi,
I need to search a string and replace with nothing, but only the First occurring string
using sed/perl/awk
Hi,
I need to search a string and replace with nothing, but only the First occurring string
using sed/perl/awk
its simple .. wats your try ..
tried this, but didn't work
sed 's/\(.*\)'$line'/\1/' $file_cases > $file_temp_cases_tmp
also tried
sed 's/string/replace/' filename
but it replaces all the string
with slight modification ..
$ sed 's/string/replace/1' filename