From: Clint Adams <clint@zsh.org>
To: Mikael Magnusson <mikachu@gmail.com>
Cc: zsh-workers <zsh-workers@sunsite.dk>
Subject: Re: gnu cut completion as wrong as it can be, patch
Date: Tue, 5 Feb 2008 20:23:28 -0500 [thread overview]
Message-ID: <20080206012328.GA15367@scowler.net> (raw)
In-Reply-To: <237967ef0802031653n35bd74d8ifd23459d4d967f95@mail.gmail.com>
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]']' \
prev parent reply other threads:[~2008-02-06 1:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-03 6:48 Mikael Magnusson
2008-02-03 7:22 ` Mikael Magnusson
2008-02-03 18:07 ` Clint Adams
2008-02-04 0:53 ` Mikael Magnusson
2008-02-06 1:23 ` Clint Adams [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080206012328.GA15367@scowler.net \
--to=clint@zsh.org \
--cc=mikachu@gmail.com \
--cc=zsh-workers@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).