Search Results

Search: Posts Made By: iffy290
2,559
Posted By RudiC
Replace this cat file.txt | grep '[^ -~]' | sed...
Replace this cat file.txt | grep '[^ -~]' | sed 's/[^ -~]//g'
by sed -n 's/[^ -~]/ /pg' file.txtMake sure the leading single quote is there. Drop the -n option and the p flag for a test, if the...
2,559
Posted By RudiC
Please use code tags for data as well! How...
Please use code tags for data as well!

How about sed -n 's/[^ - ~]/ /pg' file.txt
Showing results 1 to 2 of 2

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