From: Mike Frysinger <vapier@gentoo.org>
To: crossgcc@sourceware.org
Cc: Anthony Foiani <anthony.foiani@gmail.com>
Subject: Re: Fwd: [PATCH] scripts/functions: change zcat to gzcat on Mac OS X
Date: Tue, 15 Oct 2013 16:33:00 -0000 [thread overview]
Message-ID: <201310151233.20496.vapier@gentoo.org> (raw)
In-Reply-To: <CAOhNY-91+XbzTCvsiHwWG_uj-X3LLPZ3d_52azz2i=8sJekjew@mail.gmail.com>
[-- Attachment #1: Type: Text/Plain, Size: 652 bytes --]
On Monday 14 October 2013 19:53:13 Anthony Foiani wrote:
> On Mon, Oct 14, 2013 at 12:27 PM, Ray Donnelly wrote:
> > The best fix is to add --with-zcat=<path> as an option IMHO. It's
> > quite easily done too.
>
> Sorry if I'm late to the party, but is it possible to replace all such
> usage with just:
>
> gzip -dc
>
> This is my go-to command whenever I don't know if gzcat / zcat is
> handy, and my impression is that it's pretty portable.
that is an excellent suggestion. thanks!
you could even add a func to the code and then people wouldn't be able to
regress:
zcat() { gzip -dc "$@"; }
gzcat() { zcat "$@"; }
-mike
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
next prev parent reply other threads:[~2013-10-15 16:33 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-14 9:31 Fernando Ortiz
2013-10-14 17:56 ` Mike Frysinger
2013-10-14 18:11 ` Diorcet Yann
2013-10-14 18:27 ` Ray Donnelly
[not found] ` <CAOhNY--1kKgQV2wEhJpwntLdK6=g7uyT781X=KGOGrnCGw6urA@mail.gmail.com>
2013-10-14 23:53 ` Fwd: " Anthony Foiani
2013-10-15 16:33 ` Mike Frysinger [this message]
2013-11-15 20:09 ` Yann E. MORIN
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=201310151233.20496.vapier@gentoo.org \
--to=vapier@gentoo.org \
--cc=anthony.foiani@gmail.com \
--cc=crossgcc@sourceware.org \
/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.
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 read-only IMAP folder(s) and NNTP newsgroup(s).