Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: _netcat



Oliver Kiddle wrote:

> ...
> 
> How about the following. Usage is, for example:
>    _pick_variant netcat=connect nedit -h
> or _pick_variant -c diff gnu=GNU unix --version

The only thing I would suggest is that it (optionally?) gets a
parameter name as argument into which the command variant is stored so
that the calling function doesn't have to do the lookup itself (yes,
only a little easier, but...).

Bye
  Sven

-- 
Sven Wischnowsky                          wischnow@xxxxxxxxx



Messages sorted by: Reverse Date, Date, Thread, Author