Module Name: src Committed By: pgoyette Date: Thu Jul 25 12:25:23 UTC 2013
Modified Files: src/usr.bin/gzip: zgrep Log Message: fferentiate zegrep and zfgrep by their basename only, so they can be invoked with a pathname (ie, /usr/bin/z{e,f}grep). OK wiz@ To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/usr.bin/gzip/zgrep Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/usr.bin/gzip/zgrep diff -u src/usr.bin/gzip/zgrep:1.7 src/usr.bin/gzip/zgrep:1.8 --- src/usr.bin/gzip/zgrep:1.7 Thu May 8 15:35:23 2008 +++ src/usr.bin/gzip/zgrep Thu Jul 25 12:25:23 2013 @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: zgrep,v 1.7 2008/05/08 15:35:23 wiz Exp $ +# $NetBSD: zgrep,v 1.8 2013/07/25 12:25:23 pgoyette Exp $ # # Copyright (c) 2003 Thomas Klausner. # @@ -33,7 +33,7 @@ grep_args="" hyphen=0 silent=0 -prg=$0 +prg=$(basename $0) # handle being called 'zegrep' or 'zfgrep' case ${prg} in