Closed glennj closed 3 years ago
From my knowledge, using an external command does not make a script, not POSIX compliant.
I quite like the code you have come up with for the selection of the phone numbers, but fzf
has a nicer interface in my opinion. Let's say that you want to see US numbers only. You could simply type "US" into the prompt of fzf
and you would only be presented with US numbers.
I find it odd that you use a POSIX sh but depend on fzf. If you write for bash, you can replace
with
That works with bash v3.2.57 and up.