Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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).

share|improve this question
    
I don't know pick but maybe you can achieve the same with grep? –  André Stannek Feb 24 '13 at 13:34
add comment

1 Answer 1

up vote 1 down vote accepted

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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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