App::CSVUtils - CLI utilities related to CSV River stage one • 1 direct dependent • 2 total dependents

This distribution contains the following CLI utilities: * csv-add-field * csv-avg * csv-concat * csv-convert-to-hash * csv-csv * csv-delete-field * csv-dump * csv-each-row * csv-grep * csv-info * csv-list-field-names * csv-lookup-fields * csv-map * c...

PERLANCAR/App-CSVUtils-0.032 - 16 Aug 2020 12:03:54 UTC

csv2td - Return an enveloped aoaos table data from CSV data River stage one • 1 direct dependent • 2 total dependents

Read more about "table data" in App::td, which comes with a CLI td to munge table data....

PERLANCAR/App-CSVUtils-0.032 - 16 Aug 2020 12:03:54 UTC

csv-sum - Output a summary row which are arithmetic sums of data rows River stage one • 1 direct dependent • 2 total dependents

PERLANCAR/App-CSVUtils-0.032 - 16 Aug 2020 12:03:54 UTC

csv2csv - Convert CSV to CSV River stage one • 1 direct dependent • 2 total dependents

Why convert CSV to CSV? When you want to change separator/quote/escape character, for one....

PERLANCAR/App-CSVUtils-0.032 - 16 Aug 2020 12:03:54 UTC

csv-csv - Convert CSV to CSV River stage one • 1 direct dependent • 2 total dependents

Why convert CSV to CSV? When you want to change separator/quote/escape character, for one....

PERLANCAR/App-CSVUtils-0.032 - 16 Aug 2020 12:03:54 UTC

csv-avg - Output a summary row which are arithmetic averages of data rows River stage one • 1 direct dependent • 2 total dependents

PERLANCAR/App-CSVUtils-0.032 - 16 Aug 2020 12:03:54 UTC

csv-map - Return result of Perl code for every row River stage one • 1 direct dependent • 2 total dependents

This is like Perl's "map" performed over rows of CSV. In $_, your Perl code will find the CSV row as an arrayref (or, if you specify "-H", as a hashref). $main::row is also set to the row (always as arrayref). $main::rownum contains the row number (2...

PERLANCAR/App-CSVUtils-0.032 - 16 Aug 2020 12:03:54 UTC

csv-grep - Only output row(s) where Perl expression returns true River stage one • 1 direct dependent • 2 total dependents

This is like Perl's "grep" performed over rows of CSV. In $_, your Perl code will find the CSV row as an arrayref (or, if you specify "-H", as a hashref). $main::row is also set to the row (always as arrayref). $main::rownum contains the row number (...

PERLANCAR/App-CSVUtils-0.032 - 16 Aug 2020 12:03:54 UTC

csv-sort - Sort CSV rows River stage one • 1 direct dependent • 2 total dependents

This utility sorts the rows in the CSV. Example input CSV: name,age Andy,20 Dennis,15 Ben,30 Jerry,30 Example output CSV (using "--by-fields +age" which means by age numerically and ascending): name,age Dennis,15 Andy,20 Ben,30 Jerry,30 Example outpu...

PERLANCAR/App-CSVUtils-0.032 - 16 Aug 2020 12:03:54 UTC

dump-csv - Dump CSV as data structure (array of array/hash) River stage one • 1 direct dependent • 2 total dependents

PERLANCAR/App-CSVUtils-0.032 - 16 Aug 2020 12:03:54 UTC

csv-dump - Dump CSV as data structure (array of array/hash) River stage one • 1 direct dependent • 2 total dependents

PERLANCAR/App-CSVUtils-0.032 - 16 Aug 2020 12:03:54 UTC

csv-info - Show information about CSV file (number of rows, fields, etc) River stage one • 1 direct dependent • 2 total dependents

PERLANCAR/App-CSVUtils-0.032 - 16 Aug 2020 12:03:54 UTC

csv-split - Split CSV file into several files River stage one • 1 direct dependent • 2 total dependents

Will output split files xaa, xab, and so on. Each split file will contain a maximum of "lines" rows (options to limit split files' size based on number of characters and bytes will be added). Each split file will also contain CSV header. Warning: by ...

PERLANCAR/App-CSVUtils-0.032 - 16 Aug 2020 12:03:54 UTC

csv-setop - Set operation against several CSV files River stage one • 1 direct dependent • 2 total dependents

Example input: # file1.csv a,b,c 1,2,3 4,5,6 7,8,9 # file2.csv a,b,c 1,2,3 4,5,7 7,8,9 Output of intersection ("--intersect file1.csv file2.csv"), which will return common rows between the two files: a,b,c 1,2,3 7,8,9 Output of union ("--union file1....

PERLANCAR/App-CSVUtils-0.032 - 16 Aug 2020 12:03:54 UTC

csv-concat - Concatenate several CSV files together, collecting all the fields River stage one • 1 direct dependent • 2 total dependents

Example, concatenating this CSV: col1,col2 1,2 3,4 and: col2,col4 a,b c,d e,f and: col3 X Y will result in: col1,col2,col4,col3 1,2, 3,4, ,a,b ,c,d ,e,f ,,,X ,,,Y...

PERLANCAR/App-CSVUtils-0.032 - 16 Aug 2020 12:03:54 UTC

csv-each-row - Run Perl code for every row River stage one • 1 direct dependent • 2 total dependents

This is like csv_map, except result of code is not printed....

PERLANCAR/App-CSVUtils-0.032 - 16 Aug 2020 12:03:54 UTC

csv-transpose - Transpose a CSV River stage one • 1 direct dependent • 2 total dependents

PERLANCAR/App-CSVUtils-0.032 - 16 Aug 2020 12:03:54 UTC

csv-add-field - Add a field to CSV file River stage one • 1 direct dependent • 2 total dependents

Your Perl code (-e) will be called for each row (excluding the header row) and should return the value for the new field. $main::row is available and contains the current row. $main::rownum contains the row number (2 means the first data row). $csv i...

PERLANCAR/App-CSVUtils-0.032 - 16 Aug 2020 12:03:54 UTC

csv-sort-rows - Sort CSV rows River stage one • 1 direct dependent • 2 total dependents

This utility sorts the rows in the CSV. Example input CSV: name,age Andy,20 Dennis,15 Ben,30 Jerry,30 Example output CSV (using "--by-fields +age" which means by age numerically and ascending): name,age Dennis,15 Andy,20 Ben,30 Jerry,30 Example outpu...

PERLANCAR/App-CSVUtils-0.032 - 16 Aug 2020 12:03:54 UTC

csv-select-row - Only output specified row(s) River stage one • 1 direct dependent • 2 total dependents

PERLANCAR/App-CSVUtils-0.032 - 16 Aug 2020 12:03:54 UTC
28 results (0.039 seconds)