fzy
fzy copied to clipboard
Split input lines to fields
Allow for splitting input lines to fields where only a certain field is shown and used for matching. Also it could be specified which field will be printed when the selection is chosen.
In example, "cat /etc/passwd | fzy -d: -f1 -F6" will display and match only usernames (=1st field) and when the selection is made it will output the user's home directory (=6th field).
There are three new options -d/--delimiter, -f/--field and -F/--output-field and the feature is enabled only when -f/--field is specified.
There are three new options -d/--separator, -f/--field and -F/--output-field and the feature is enabled only when -f/--field is specified.
Small idea/nit: I'd go with -d/--delimiter, which is (a) internally consistent (--separator doesn't have a d in it), and (b) consistent with cut(1)
Why is this not merged?
Can I help to fix conflicts to get it merged?