csvgrep needs a special variable to identify the last column the same way _end_
in MATLAB
A good approach is to use $NF (number of fields special variable) to index the
last field.
Here it follows a few possibilities:
1. csvgrep '${$NF} eq "Doe$"' # Variables inside curly braces
2. csvgrep '${NF} eq "Doe$"' # Identifier inside curly braces. It conflicts
with a column named NF
3. csvgrep '${-1} eq "Doe$"' # Python indexing approach
4. csvgrep '${end} eq "Doe$"' # MATLAB indexing approach
5. csvgrep '${$end} eq "Doe$"' # MATLAB indexing approach
6. csvgrep '$end eq "Doe$"' # MATLAB indexing approach
Original issue reported on code.google.com by wilson.freitas on 9 Jul 2012 at 5:54
Original issue reported on code.google.com by
wilson.freitas
on 9 Jul 2012 at 5:54