Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH misc. cleanup in bin_print()
- X-seq: zsh-workers 37543
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: PATCH misc. cleanup in bin_print()
- Date: Sun, 10 Jan 2016 10:54:11 -0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version:content-type; bh=wiKwAR0drQPNoCm2lXhzJ7QTYtbH4qeQMILTyl5Vn0E=; b=btltRGAUM6jho+ej2hgxlRsx0HGS0o6t9YAoZux1C6UP/GPEf4dEwGQ6qVDESjb3Mx FJwZTa0JV+kZ78CYA0nrpOtUaJkzot+ego8LsXP/cpZuWYj6JFgtmlYgKQTbsqkYZFb5 d1mg901zwlOdOAfcwfdjajXPUYvPZqc5GlhUcZ6KC7j+mAA0QjSE9N81Qg7baj96Ersx KAu2zVam4lKIpfX/Srg0PgFK/JooPuZ1elNpOJgJxJ7BpmG5yMfst+lAYVzktFUIirlZ lQGg6gEOuq7Lz0VcUZm/7GoK+f0wmGP3SnO/aZaez9mTvCcntFfFVMC8UWlPPbpemqZ8 48NA==
- In-reply-to: <20160110003755.GA6751@tarsus.local2>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <160104224749.ZM6378@torch.brasslantern.com> <20160110003755.GA6751@tarsus.local2>
I'm not sure why, but although these messages from Daniel are dated Jan 1,
I didn't receive them until yesterday.
On Jan 1, 12:37am, Daniel Shahaf wrote:
} Subject: Re: PATCH misc. cleanup in bin_print()
}
} Bart Schaefer wrote on Mon, Jan 04, 2016 at 22:47:49 -0800:
} > - if (OPT_ISSET(ops, 'z') + OPT_ISSET(ops, 's') + OPT_ISSET(ops, 'v') > 1) {
} > - zwarnnam(name, "only one of -z, -s, or -v allowed");
}
} Should -p be in this set too?
It might be possible to include -p and -u in that set, yes. I caught
those later with
zwarnnam(name, "-p or -u not allowed with -s, -S, -v, or -z");
but I wasn't sure whether -p and -u actually should warn about being
mutually exclusive, because there's the undocumented special case of
"-u p" (like >&p) which is the same as -p and might be written "-up".
Similarly I'd like to warn about "-f fmt -c" but there's a Test/ for
that so maybe something depends on it.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author