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

Re: find and tar RE: PATCH: _arguments and friends



Andrej Borsenkow wrote:

> Just using the occasion.
> 
> I remember suggestion to check, if find/tar support $cmd --help. I suggest this
> once more:
> 
>  - rename current _find/_tar to _gnu_find/_gnu_tar
>  - make _find/_tar check if $cmd --help is suppported and call _gnu_$cmd version
> in this case
>  - we can provide some fallback version (something like _std_find/_std_tar). I
> think, that using options from SingleUNIX would be nice for a start.

Hm. Now that we have started adding more subdirectories to `Completion', 
we probably should put that into `Gnu' and `Std' or something like that.

> The same applies to cpio (I think, we have it now?)

At least I don't have a completion functio for it...

> I do not know, if it is possible to merge GNU/non-GNU in one function.

Yes, may be impossible to find out.

Bye
 Sven


--
Sven Wischnowsky                         wischnow@xxxxxxxxxxxxxxxxxxxxxxx



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