-
Given csv:
I want to filter the yellow items and get the second one (i.e. the one with id 4). I tried the following but it does not work:
I believe this is because FNR is the row number in the original item list. How can I achieve this? |
Beta Was this translation helpful? Give feedback.
Answered by
aborruso
Apr 12, 2024
Replies: 1 comment 3 replies
-
A solution by verb could be this one:
In output you have
You can add |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
pluma9
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
A solution by verb could be this one:
In output you have
You can add
cut -x -f n
to removen
.