This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fwd: [PATCH] scripts/functions: change zcat to gzcat on Mac OS X


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: signature.asc
Description: This is a digitally signed message part.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]