Lines Matching defs:gzip
1 /* $NetBSD: gzip.c,v 1.127 2024/06/01 10:17:12 martin Exp $ */
37 __RCSID("$NetBSD: gzip.c,v 1.127 2024/06/01 10:17:12 martin Exp $");
41 * gzip.c -- GPL free gzip using zlib.
45 * RFC 1952 covers the gzip format
179 static const char gzip_version[] = "NetBSD gzip 20240203";
184 static int numflag = 6; /* gzip -1..-9 value */
312 * This is what else GNU gzip implements. --ascii isn't useful
327 char *gzip;
335 if ((gzip = getenv("GZIP")) != NULL)
336 prepend_gzip(gzip, &argc, &argv);
507 /* split up $GZIP and prepend it to the argument list */
509 prepend_gzip(char *gzip, int *argc, char ***argv)
515 for (s = gzip;;) {
544 /* take a copy of $GZIP and add it to the array */
545 s = strdup(gzip);
1473 maybe_warnx("%s: not in gzip format", file);
2238 /* display the usage of NetBSD gzip */
2274 /* display the version of NetBSD gzip */