Search Results

Search: Posts Made By: lyman1216
1,691
Posted By lyman1216
I figured it out. Instead of sed -i 's/h/\'/p'...
I figured it out. Instead of
sed -i 's/h/\'/p' file.txt
I used
sed -i "s/h/'/p" file.txt
and it worked :)
1,691
Posted By lyman1216
replace character with '
ive tried doing
sed -i 's/h/\'/g' file.txt
to replace h with ' but it doesnt work:confused:. Any ideas would be greatly appreciated.
Showing results 1 to 2 of 2

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