wilsonfreitas / csvgrep

Easy and funny searches on text delimited files
http://wilsonfreitas.github.io/csvgrep
MIT License
5 stars 1 forks source link

Fields range #2

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Field ranges should be an interesting way to compare or either send a set of 
fields to the output.

Named ranges:
${ColumnA:ColumnC}: all fields from ColumnA up to ColumnC (inclusive).
${ColumnA:}: all fields starting from ColumnA up to the last column.
${:ColumnC}: all fields from the first one up to the ColumnC.

Indexed ranges:
${i:j}: all fields from field i to j
${i:}: all fields from field i to end
${:j}: all fields from the first fields up to field j

${:}: all fields

Original issue reported on code.google.com by wilson.freitas on 9 Jul 2012 at 6:06

GoogleCodeExporter commented 9 years ago

Original comment by wilson.freitas on 10 Jul 2012 at 1:01