Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
RE: [PATCH] Remove non-existing flags from _uniq
Haai,
On Thu, 16 Jan 2025 15:57:52 +0100, Julian Prein <julian@xxxxxxxxxxxx> wrote:
> Hello,
>
> Unfortunately uniq has neither the -t/--separator nor the -W/--check-fields
> flags that are currently completed by _uniq (at least not in GNU and busybox
> coreutils or any other implementation I could find).
Me doesn't use flag completion, but can confirm that these flags aren't in
OpenBSD's uniq(1) either.
--zeurkous.
>
> Best,
> Julian
>
> diff --git a/Completion/Unix/Command/_uniq b/Completion/Unix/Command/_uniq
> index 479b3848d2d0..d2e10494a9e0 100644
> --- a/Completion/Unix/Command/_uniq
> +++ b/Completion/Unix/Command/_uniq
> @@ -11,10 +11,8 @@ args=(
> Â Â '--group=-[show all items]::group separation [separate]:(separate
> prepend append both)'
> Â Â '(-i --ignore-case)'{-i,--ignore-case}'[ignore differences in case
> when comparing]'
> Â Â '(-s --skip-chars)'{-s,--skip-chars=}'[avoid comparing initial
> characters]:number of characters'
> -Â '(-t --separator)'{-t,--separator=}'[specify field delimiter]:separator'
> Â Â '(-u --unique)'{-u,--unique}'[only print unique lines]'
> Â Â '(-w --check-chars)'{-w,--check-chars=}'[specify maximum number of
> characters to compare]:characters'
> -Â '(-W --check-fields)'{-W,--check-fields=}'[specify maximum number of
> fields to compare]:fields'
> Â Â '(-z --zero-terminated)'{-z,--zero-terminated}'[delimit lines with
> null character, not newline]'
> Â Â '(- *)--help[display help information]'
> Â Â '(- *)--version[display version information]'
>
>
--
Friggin' Machines!
Please help! https://givesendgo.com/GD4jV
Messages sorted by:
Reverse Date,
Date,
Thread,
Author