/get-columns

Parse malformed table data and format as CSV

Primary LanguageCGNU General Public License v3.0GPL-3.0

Parse malformed table data and format as CSV

Input:

   Oil           0           barrels               0         barrels
  Brine                      barrels               0         barrels
  Other            5                        0         barrels

Output:

"0","barrels","0","barrels","","","","barrels","0","barrels","","","5","","0","barrels","","",