Search plugin: Or browse by category:

csv-add-column summary

Plugin Name: csv-add-column
Version: 0.0.3
Author: @melezhik
Realease Date: 2017-09-11 14:27:41
Short Description: Add Column to end every line in CSV file using awk
Category: awk
Plugin web page: https://github.com/melezhik/csv-add-column
Download link: csv-add-column-v0.000003.tar.gz
Latest version link: https://sparrowhub.org/info/csv-add-column

csv-add-column documentation

csv-add-column doc

SYNOPSIS

Add Column to end every line in CSV file using awk.

The author of original awk script is birei the code is taken from StackOverflow.

INSTALL

$ sparrow plg install csv-add-column

USAGE

To add date value to the end of every line in CSV $file:

$ sparrow plg run csv-add-column \
--format concise \
--param file=/path/to/file/example.csv \
--param data="`date`" > output.csv

Plugin maintainer

Alexey Melezhik

Prerequisites

Awk should be installed