Search Results

Search: Posts Made By: Strongbow
4,404
Posted By Strongbow
sed 's/\bwich/mirchi/g' test.txt \b is a word...
sed 's/\bwich/mirchi/g' test.txt
\b is a word boundry. To be even more complete, sed 's/\bwich\b/mirchi/g' test.txt, though it won't make a difference in your sample text.
Showing results 1 to 1 of 1

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