2

OS: Linux Mint 14

Is there an equivalent of the pick command available in Linux? Pick command is the one where for each given argument, it asks yes/no and prints the selection to stdout. This script is commonly described in unix books (unix power tools).

  • I don't know pick but maybe you can achieve the same with grep? – André Stannek Feb 24 '13 at 13:34
1

That utility is just a little shell script, not – as far as I know – anything that is regularly shipped with Unix systems or Linux distributions.

You can find it in the Examples section on O'Reilly's site: description, script itself. Save it to a file somewhere in your $PATH and make it executable and you're ready to go.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.