selection as command argument in shell menu
Tim Hubberstey
myredirector at gmail.com
Sat Mar 10 19:42:26 CET 2007
Gerald Grabner wrote:
> Hi there,
>
> I am wondering if it is possible to pass the selection as an argument
> to a command being called from the shell menu. It only seems possible
> for the filename and the line number. Does anybody know how to pass
> the selected text?
>
> Many thanks,
> Gerald
Check out 'xargs'. It takes data from STDIN and passes it as argument(s)
to a specified command.
More information about the Discuss
mailing list