]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add a new -o option to tell xargs(1) to reopen /dev/tty as stdin in
authorMaxime Henrion <mux@FreeBSD.org>
Sun, 23 Mar 2003 18:29:52 +0000 (18:29 +0000)
committerMaxime Henrion <mux@FreeBSD.org>
Sun, 23 Mar 2003 18:29:52 +0000 (18:29 +0000)
commit98186e89da2131fd456a6d3033fd91de1b913fb1
treed8dea2198fb4b799619a7cf539bb2ec6eaf22d25
parentf949f795aa24d4c7cbb049622d61f6474dd38319
Add a new -o option to tell xargs(1) to reopen /dev/tty as stdin in
the child process, before executing the command.  This is very useful
when you do stuff like ``find ... | xargs interactive_application''.
Without -o, the application would inherit the pipe as its stdin, and
you thus lose any control over it.

This flag has been carefully chosen to not conflit with other options
of other xargs utilities like GNU xargs.

Reviewed by: jmallett
usr.bin/xargs/xargs.1
usr.bin/xargs/xargs.c