pick - Select one entry from stdin and/or argv
Pick will take stdin and all command line arguments and display a ksh-like selection menu will all input lines/arguments.
This commit is contained in:
25
pick.1
Normal file
25
pick.1
Normal file
@@ -0,0 +1,25 @@
|
||||
.Dd Sep 13, 2023
|
||||
.Dt TS 1
|
||||
.Os
|
||||
.Sh NAME
|
||||
.Nm pick
|
||||
.Nd Choose interactively from the set of arguments and input lines
|
||||
.Sh SYNOPSIS
|
||||
.Nm
|
||||
.Ar arg ...
|
||||
.Sh DESCRIPTION
|
||||
.Nm
|
||||
will display a Korn shell style selection menu with stdin contents and
|
||||
arguments as options.
|
||||
.Pp
|
||||
When a selection is made, the command will print its value to stdout.
|
||||
If the selection is aborted, nothing will be printed.
|
||||
.Sh ENVIRONMENT
|
||||
.Bl -tag -width PS3
|
||||
.It Ev PS3
|
||||
Prompt string displayed to the user (default: #?).
|
||||
.El
|
||||
.Sh EXIT STATUS
|
||||
.Ex -std
|
||||
.Sh AUTHORS
|
||||
.An Adolfo Perez Alvarez Aq Mt adolfopa@sdf.org
|
||||
Reference in New Issue
Block a user