FG
💻 Software

Transforming CSV file using sed

Fresh7 days ago
Mar 15, 20265801 views
Confidence Score0%
0%

Problem

In order to be able to import some data into a certain tool, I have to transform a CSV file from this format into this format The columns never contain any , or but there can be spaces. Currently I use the following Although this works fine I wonder if this can be done more elegantly, i.e. Is sed t…

Error Output

"data","data","data data","data","123"

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Transforming CSV file using sed

Low Risk

I'd use Perl -- but this specific task isn't beyond sed. You cannot merge the two expressions.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment