csv-add-rev

NAME

csv-add-rev - add a new column by reversing another column characterwise

SYNOPSIS

csv-add-rev [OPTION]…

DESCRIPTION

Read CSV stream from standard input and print it back to standard output with a new column produced by reversing another column characterwise.

-c NAME
use column NAME as an input
-n NEW-NAME
create column NEW-NAME as an output
-s, --show
print output in table format
-S, --show-full
print output in table format with pager
-T, --table=NAME
apply the filter to rows only with _table column equal NAME
--help
display this help and exit
--version
output version information and exit

EXAMPLES

csv-ls | csv-add-rev -c name -n reversed_name -s
list files with names reversed

SEE ALSO

rev(1), csv-show(1), csv-nix-tools(7)