Last active
May 28, 2022 07:55
-
-
Save adrianbiro/858331f7cb4aa9e58c882427ebd1b79e to your computer and use it in GitHub Desktop.
This removes lines marked with the hash from the CSV file, cleane-up quotes and generates the TSV file. Then You can easily read this, in plain text editor.
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
awk -F"," '{gsub("\"", "", $0); gsub(",", "\t", $0); if ($1 !~ /#\s.*/) print }' report.csv > clean_report.tsv |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment