secgateway/kernel/rootfs_base/bin/zegrep

8 lines
140 B
Bash
Executable File

#!/bin/sh
bindir='/bin'
case $1 in
--__bindir) bindir=${2?}; shift; shift;;
esac
PATH=$bindir:$PATH
exec zgrep --__bindir "$bindir" -E "$@"