Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: gnu cut completion as wrong as it can be, patch
- X-seq: zsh-workers 24536
- From: Clint Adams <clint@xxxxxxx>
- To: Mikael Magnusson <mikachu@xxxxxxxxx>
- Subject: Re: gnu cut completion as wrong as it can be, patch
- Date: Tue, 5 Feb 2008 20:23:28 -0500
- Cc: zsh-workers <zsh-workers@xxxxxxxxxx>
- In-reply-to: <237967ef0802031653n35bd74d8ifd23459d4d967f95@xxxxxxxxxxxxxx>
- Mail-followup-to: Mikael Magnusson <mikachu@xxxxxxxxx>, zsh-workers <zsh-workers@xxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <237967ef0802022248k459943dboaaacb3163dc77ed1@xxxxxxxxxxxxxx> <alpine.LNX.1.00.0802030821300.29268@localhost> <20080203180747.GA14836@xxxxxxxxxxx> <237967ef0802031653n35bd74d8ifd23459d4d967f95@xxxxxxxxxxxxxx>
On Mon, Feb 04, 2008 at 01:53:06AM +0100, Mikael Magnusson wrote:
> Okay, let's try this then,
> http://git.a.la/?p=zsh-cvs.git;a=commitdiff_plain;h=6460b1
Moving the + signs right and fixing a misspelling..
Index: Completion/Unix/Command/_cut
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_cut,v
retrieving revision 1.6
diff -u -r1.6 _cut
--- Completion/Unix/Command/_cut 6 Feb 2008 01:17:53 -0000 1.6
+++ Completion/Unix/Command/_cut 6 Feb 2008 01:22:22 -0000
@@ -23,7 +23,7 @@
bytes "select only these bytes"
characters "select only these characters"
delimiter "use DELIM instead of TAB for field delimiter"
- fields "select only these fields and lines whitout the delimiter character"
+ fields "select only these fields and lines without the delimiter character"
n "(ignored)"
complement "complement the set of selected bytes, characters or fields"
only-delimited "do not print lines not containing delimiters"
@@ -35,10 +35,10 @@
esac
_arguments \
- '(--bytes -b+)'{--bytes=,-b}'['$_cut_args[bytes]']:list' \
- '(--characters -c+)'{--characters=,-c}'['$_cut_args[characters]']:list' \
- '(--delimiter -d+)'{--delimiter=,-d}'['$_cut_args[delimiter]']:delimeter' \
- '(--fields -f+)'{--fields=,-f}'['$_cut_args[fields]']:list' \
+ '(--bytes -b)'{--bytes=,-b+}'['$_cut_args[bytes]']:list' \
+ '(--characters -c)'{--characters=,-c+}'['$_cut_args[characters]']:list' \
+ '(--delimiter -d)'{--delimiter=,-d+}'['$_cut_args[delimiter]']:delimeter' \
+ '(--fields -f)'{--fields=,-f+}'['$_cut_args[fields]']:list' \
'-n['$_cut_args[n]']' \
'--complement['$_cut_args[complement]']' \
'(--only-delimited -s)'{--only-delimited,-s}'['$_cut_args[only-delimited]']' \
Messages sorted by:
Reverse Date,
Date,
Thread,
Author