/fix-csv-chars

A simple CLI node module that finds and replaces parameter-specified characters inside double-quoted text from a file.

Primary LanguageJavaScriptMIT LicenseMIT

Fix CSV chars

A small node module to replace a specified char found inside double-quoted pieces of text.

Setup

npm install -g @tmilar/fix-csv-chars

Usage

fix-csv-chars INPUT_FILENAME OUTPUT_FILENAME OFFENDING_TEXT REPLACEMENT_TEXT

Example:

fix-csv-chars sample.csv sample_fixed.csv "," "@@@"

License

MIT