--- /dev/null
+#!/bin/bash
+
+print_usage()
+{
+ echo "$(basename $0) -- Grep and Less front end."
+ echo "Usage: $(basename $0) GREP_STRING"
+}
+
+if [ $# -ne 1 ]; then
+ print_usage
+ exit 1
+fi
+
+GREP_STRING=${1}
+
+grep --color=always -rn "${GREP_STRING}" * | less -RFX
PREFIX="/usr/local"
BINDIR="${PREFIX}/bin"
SYSBINDIR="${PREFIX}/sbin"
-BIN_UTILITIES="camera-download cd-erase cd-copy pstopdf distro-backup dos2unix \
- dvd-ram-format fix-avi gztobz2 hv-backup hv-video-dvd mail-files \
- mail-if-fail mail-statistics media-write pstopdf replace.pl \
- rotatelogs setdate strip-debug-symbols tarbz2 tildes-clean"
+BIN_UTILITIES="camera-download cd-erase cd-copy cgrep pstopdf distro-backup \
+ dos2unix dvd-ram-format fix-avi gztobz2 hv-backup hv-video-dvd \
+ mail-files mail-if-fail mail-statistics media-write pstopdf \
+ replace.pl rotatelogs setdate strip-debug-symbols tarbz2 \
+ tildes-clean"
for program in ${BIN_UTILITIES}; do
install -v ${SRCDIR}/${program} ${BINDIR}