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

find and tar RE: PATCH: _arguments and friends



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.

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

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

/andrej




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