I have created CSV files by downloading data from MQ SQL server tables. When I tried to load the CSV files to PostgreSQL, it complained about the null character (x'00') and newline (\r\n) . I am using Python code to replace these bad characters, which seems a bit slow. How can I remove those characters using a Linux command?