Search Results

Search: Posts Made By: backdrift
7,369
Posted By ygemici
or try sed 's/from\|FROM/to/g' file1> file2 ...
or try
sed 's/from\|FROM/to/g' file1> file2

# time sed 's/from\|FROM/to/g' file1> file2
real 0m0.269s
user 0m0.225s
sys 0m0.040s

# time sed 's/from/to/gi' file1> file2
real ...
7,369
Posted By Scrutinizer
I think the problem is in the I-switch. I did a...
I think the problem is in the I-switch. I did a couple of quick tests. On average it took 10 times longer with the I-switch than it did without. Perhaps the I switch is not necessary everywhere, or...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 04:18 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy