SyntaxFix
Write A Post
Hire A Developer
Questions
🔍
[sed] Remove non-ASCII characters from CSV
Home
Question
Remove non-ASCII characters from CSV
This worked for me:
sed -i 's/[^[:print:]]//g'
Examples related to
sed
•
Retrieve last 100 lines logs
•
How to replace multiple patterns at once with sed?
•
Insert multiple lines into a file after specified pattern using shell script
•
Linux bash script to extract IP address
•
Ansible playbook shell output
•
remove white space from the end of line in linux
•
bash, extract string before a colon
•
invalid command code ., despite escaping periods, using sed
•
RE error: illegal byte sequence on Mac OS X
•
How to use variables in a command in sed?
Examples related to
awk
•
What are NR and FNR and what does "NR==FNR" imply?
•
awk - concatenate two string variable and assign to a third
•
Printing column separated by comma using Awk command line
•
Insert multiple lines into a file after specified pattern using shell script
•
cut or awk command to print first field of first row
•
How to run an awk commands in Windows?
•
Linux bash script to extract IP address
•
Print line numbers starting at zero using awk
•
Trim leading and trailing spaces from a string in awk
•
Use awk to find average of a column