Created
March 31, 2020 12:53
-
-
Save y2k-shubham/66fe3736a96295fd6728e36071da805f to your computer and use it in GitHub Desktop.
clean text-files generated in windows for programmatic consumption in linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Removes invisible characters (like formfeed) | |
# also coerces UTF-8 encoding | |
iconv -c -f utf-8 -t ascii source_filename.csv > destination_filename.csv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment