===========================================================
                                      .___ __  __   
          _________________  __ __  __| _/|__|/  |_ 
         / ___\_` __ \__  \ |  |  \/ __ | | \\_  __\
        / /_/  >  | \// __ \|  |  / /_/ | |  ||  |  
        \___  /|__|  (____  /____/\____ | |__||__|  
       /_____/            \/           \/           
              grep rough audit - static analysis tool
                  v2.8 written by @Wireghoul
=================================[justanotherhacker.com]===
aoetools-36/aoe-interfaces.in-4-
aoetools-36/aoe-interfaces.in:5:zero="`basename $0`"
aoetools-36/aoe-interfaces.in-6-devf=@devdir@/interfaces
##############################################
aoetools-36/aoe-version-10-for wd in . / /sys /var/run /usr /proc /etc /home; do
aoetools-36/aoe-version:11:	a=`{ cd "$wd" 2> /dev/null && test ! -r aoe && echo yes; } || echo no`
aoetools-36/aoe-version-12-	if test "$a" = "yes"; then
##############################################
aoetools-36/aoe-version-26-# standalone aoe drivers have a module parameter "version"
aoetools-36/aoe-version:27:installed="`modinfo \"$aoe\" 2>/dev/null | awk '/srcversion/ {next} /^parm:.*version:aoe module/ {print $NF; exit 0}'`"
aoetools-36/aoe-version-28-if test -z "$installed"; then
##############################################
aoetools-36/aoe-version-31-	# for that, too, in case user is using kernel.org driver.
aoetools-36/aoe-version:32:	installed="`modinfo \"$aoe\" 2>/dev/null | awk '/^version:/ {print $NF; exit 0}'`"
aoetools-36/aoe-version-33-fi
##############################################
aoetools-36/aoe-discover.in-4-
aoetools-36/aoe-discover.in:5:zero=`basename $0`
aoetools-36/aoe-discover.in-6-f=@devdir@/discover
##############################################
aoetools-36/aoe-revalidate.in-4-
aoetools-36/aoe-revalidate.in:5:zero=`basename $0`
aoetools-36/aoe-revalidate.in-6-f=@devdir@/revalidate
##############################################
aoetools-36/sos-linux-2-
aoetools-36/sos-linux:3:me="`basename $0`"
aoetools-36/sos-linux-4-outf="$HOME/sos-`hostname`-`date +%Y%m%d-%H%M%S`.txt"
##############################################
aoetools-36/sos-linux-27-set +x
aoetools-36/sos-linux:28:for i in `aoe-stat | awk '{print $3}' | sed 's!,! !g'`; do
aoetools-36/sos-linux-29-	echo ethtool -S $i
##############################################
aoetools-36/sos-linux-38-didmount=
aoetools-36/sos-linux:39:mounted=`awk '$3=="debugfs"{print $2}' /proc/mounts`
aoetools-36/sos-linux-40-if test "x$mounted" = "x" && mount -t debugfs none "$dmnt"; then
##############################################
aoetools-36/aoe-flush.in-4-
aoetools-36/aoe-flush.in:5:zero="`basename $0`"
aoetools-36/aoe-flush.in-6-f="@devdir@/flush"
##############################################
aoetools-36/aoe-stat.in-5-set -e
aoetools-36/aoe-stat.in:6:me=`basename $0`
aoetools-36/aoe-stat.in-7-sysd=${sysfs_dir:-/sys}
##############################################
aoetools-36/aoe-stat.in-21-	if test -b "@devdir@/$devname"; then
aoetools-36/aoe-stat.in:22:		m_node="`ls -l \"@devdir@/$devname\" | awk '{print $6}'`"
aoetools-36/aoe-stat.in-23-		test "$m_sysfs" = "$m_node" || {
##############################################
aoetools-36/aoe-stat.in-46-# compatibility for aoe drivers without payload information
aoetools-36/aoe-stat.in:47:for d in `ls -d $sysd/block/*e[0-9]*\.[0-9]* 2>/dev/null | grep -v p` end; do
aoetools-36/aoe-stat.in-48-	# maybe ls comes up empty, so we use "end"
##############################################
aoetools-36/aoe-stat.in-57-fi
aoetools-36/aoe-stat.in:58:for d in `ls -d $sysd/block/*e[0-9]*\.[0-9]* 2>/dev/null | grep -v p` end; do
aoetools-36/aoe-stat.in-59-	test $d = end && continue
aoetools-36/aoe-stat.in-60-
aoetools-36/aoe-stat.in:61:	dev=`echo "$d" | sed 's/.*!//'`
aoetools-36/aoe-stat.in-62-	if test -r "$d"/dev; then
aoetools-36/aoe-stat.in:63:		minor="`awk -F: '{print $2}' \"$d/dev\"`"
aoetools-36/aoe-stat.in-64-		checknode "$dev" "$minor"
##############################################
aoetools-36/aoe-stat.in-67-	fi
aoetools-36/aoe-stat.in:68:	sectors=`cat_or_NA "$d"/size`
aoetools-36/aoe-stat.in-69-	if test "$sectors" = "$NA"; then
##############################################
aoetools-36/aoe-stat.in-72-		psize=$(((512000 * $sectors) / (1000 * 1000 * 1000)))
aoetools-36/aoe-stat.in:73:		psize=`printf "%04d\n" $psize | sed 's!\(...\)$!.\1!'`GB
aoetools-36/aoe-stat.in-74-	fi
aoetools-36/aoe-stat.in:75:	netif=`cat_or_NA "$d"/netif`
aoetools-36/aoe-stat.in:76:	state=`cat_or_NA "$d"/state`
aoetools-36/aoe-stat.in:77:	payload=`cat_or_NA "$d"/payload`
aoetools-36/aoe-stat.in-78-	if test "$payload" != "$NA"; then
##############################################
aoetools-36/coraid-update-29-# if it's an update target, it should be in `aoe-stat`
aoetools-36/coraid-update:30:aoe-stat | awk -vt="`basename $ulb`" '
aoetools-36/coraid-update-31-BEGIN{fail=1}
##############################################
aoetools-36/coraid-update-40-# it should have a size no larger than $max in /proc/partitions
aoetools-36/coraid-update:41:t="`echo $ulb | sed 's!^/dev/!!'`"
aoetools-36/coraid-update-42-awk -vt="$t" '$NF==t{print $3}' /proc/partitions |
##############################################
aoetools-36/coraid-update-64-# 
aoetools-36/coraid-update:65:if test "`echo \"$update\" | grep '\.tarc$'`"; then
aoetools-36/coraid-update-66-	tar tf "$update" > /dev/null 2>&1 || {
##############################################
aoetools-36/debian/aoetools.init-165-    for mountpt in $waitaoe; do
aoetools-36/debian/aoetools.init:166:      if [ -z "`awk '{print $2}' < /proc/mounts | grep -w $mountpt$`" ]
aoetools-36/debian/aoetools.init-167-      then
##############################################
aoetools-36/debian/patches/01_no_bashisms.patch-6-@@ -56,6 +56,6 @@
aoetools-36/debian/patches/01_no_bashisms.patch:7: mkshelf=`echo $0 | sed 's!mkdevs!mkshelf!'`
aoetools-36/debian/patches/01_no_bashisms.patch-8- i=0
##############################################
aoetools-36/debian/patches/01_no_bashisms.patch-11-+	$mkshelf $dir $i
aoetools-36/debian/patches/01_no_bashisms.patch:12: 	i=`expr $i + 1`
aoetools-36/debian/patches/01_no_bashisms.patch-13- done
##############################################
aoetools-36/.pc/01_no_bashisms.patch/aoe-mkdevs-8-if test "$#" != "1"; then
aoetools-36/.pc/01_no_bashisms.patch/aoe-mkdevs:9:	echo "Usage: `basename $0` {dir}" 1>&2
aoetools-36/.pc/01_no_bashisms.patch/aoe-mkdevs:10:	echo "       n_partitions=16 `basename $0` {dir}" 1>&2
aoetools-36/.pc/01_no_bashisms.patch/aoe-mkdevs-11-	exit 1
##############################################
aoetools-36/.pc/01_no_bashisms.patch/aoe-mkdevs-13-dir=$1
aoetools-36/.pc/01_no_bashisms.patch/aoe-mkdevs:14:zero="`basename $0`"
aoetools-36/.pc/01_no_bashisms.patch/aoe-mkdevs-15-MAJOR=152
##############################################
aoetools-36/.pc/01_no_bashisms.patch/aoe-mkdevs-17-dyn=/sys/module/aoe/parameters/aoe_dyndevs
aoetools-36/.pc/01_no_bashisms.patch/aoe-mkdevs:18:if test -r "$dyn" && test "`cat $dyn`" = 1; then
aoetools-36/.pc/01_no_bashisms.patch/aoe-mkdevs-19-	cat 1>&2 <<EOF
##############################################
aoetools-36/.pc/01_no_bashisms.patch/aoe-mkdevs-55-
aoetools-36/.pc/01_no_bashisms.patch/aoe-mkdevs:56:mkshelf=`echo $0 | sed 's!mkdevs!mkshelf!'`
aoetools-36/.pc/01_no_bashisms.patch/aoe-mkdevs-57-i=0
##############################################
aoetools-36/.pc/01_no_bashisms.patch/aoe-mkdevs-59-	sh $mkshelf $dir $i
aoetools-36/.pc/01_no_bashisms.patch/aoe-mkdevs:60:	i=`expr $i + 1`
aoetools-36/.pc/01_no_bashisms.patch/aoe-mkdevs-61-done
##############################################
aoetools-36/.pc/04_support_slash_run_slash_udev.patch/aoe-mkdevs-8-if test "$#" != "1"; then
aoetools-36/.pc/04_support_slash_run_slash_udev.patch/aoe-mkdevs:9:	echo "Usage: `basename $0` {dir}" 1>&2
aoetools-36/.pc/04_support_slash_run_slash_udev.patch/aoe-mkdevs:10:	echo "       n_partitions=16 `basename $0` {dir}" 1>&2
aoetools-36/.pc/04_support_slash_run_slash_udev.patch/aoe-mkdevs-11-	exit 1
##############################################
aoetools-36/.pc/04_support_slash_run_slash_udev.patch/aoe-mkdevs-13-dir=$1
aoetools-36/.pc/04_support_slash_run_slash_udev.patch/aoe-mkdevs:14:zero="`basename $0`"
aoetools-36/.pc/04_support_slash_run_slash_udev.patch/aoe-mkdevs-15-MAJOR=152
##############################################
aoetools-36/.pc/04_support_slash_run_slash_udev.patch/aoe-mkdevs-17-dyn=/sys/module/aoe/parameters/aoe_dyndevs
aoetools-36/.pc/04_support_slash_run_slash_udev.patch/aoe-mkdevs:18:if test -r "$dyn" && test "`cat $dyn`" = 1; then
aoetools-36/.pc/04_support_slash_run_slash_udev.patch/aoe-mkdevs-19-	cat 1>&2 <<EOF
##############################################
aoetools-36/.pc/04_support_slash_run_slash_udev.patch/aoe-mkdevs-55-
aoetools-36/.pc/04_support_slash_run_slash_udev.patch/aoe-mkdevs:56:mkshelf=`echo $0 | sed 's!mkdevs!mkshelf!'`
aoetools-36/.pc/04_support_slash_run_slash_udev.patch/aoe-mkdevs-57-i=0
##############################################
aoetools-36/.pc/04_support_slash_run_slash_udev.patch/aoe-mkdevs-59-	$mkshelf $dir $i
aoetools-36/.pc/04_support_slash_run_slash_udev.patch/aoe-mkdevs:60:	i=`expr $i + 1`
aoetools-36/.pc/04_support_slash_run_slash_udev.patch/aoe-mkdevs-61-done
##############################################
aoetools-36/.pc/04_support_slash_run_slash_udev.patch/aoe-mkshelf.in-4-
aoetools-36/.pc/04_support_slash_run_slash_udev.patch/aoe-mkshelf.in:5:zero=`basename $0`
aoetools-36/.pc/04_support_slash_run_slash_udev.patch/aoe-mkshelf.in-6-
##############################################
aoetools-36/.pc/04_support_slash_run_slash_udev.patch/aoe-mkshelf.in-12-dyn=/sys/module/aoe/parameters/aoe_dyndevs
aoetools-36/.pc/04_support_slash_run_slash_udev.patch/aoe-mkshelf.in:13:if test -r "$dyn" && test "`cat $dyn`" = 1; then
aoetools-36/.pc/04_support_slash_run_slash_udev.patch/aoe-mkshelf.in-14-	cat 1>&2 <<EOF
##############################################
aoetools-36/.pc/04_support_slash_run_slash_udev.patch/aoe-mkshelf.in-40-endp=$(($n_partitions - 1))
aoetools-36/.pc/04_support_slash_run_slash_udev.patch/aoe-mkshelf.in:41:for slot in `seq 0 $maxslot`; do
aoetools-36/.pc/04_support_slash_run_slash_udev.patch/aoe-mkshelf.in:42:	for part in `seq 0 $endp`; do
aoetools-36/.pc/04_support_slash_run_slash_udev.patch/aoe-mkshelf.in-43-		name=e$shelf.$slot
##############################################
aoetools-36/.pc/04_support_slash_run_slash_udev.patch/aoe-mkshelf.in-47-
aoetools-36/.pc/04_support_slash_run_slash_udev.patch/aoe-mkshelf.in:48:		minor=`expr $minor + 1`
aoetools-36/.pc/04_support_slash_run_slash_udev.patch/aoe-mkshelf.in-49-	done
##############################################
aoetools-36/aoe-mkdevs-8-if test "$#" != "1"; then
aoetools-36/aoe-mkdevs:9:	echo "Usage: `basename $0` {dir}" 1>&2
aoetools-36/aoe-mkdevs:10:	echo "       n_partitions=16 `basename $0` {dir}" 1>&2
aoetools-36/aoe-mkdevs-11-	exit 1
##############################################
aoetools-36/aoe-mkdevs-13-dir=$1
aoetools-36/aoe-mkdevs:14:zero="`basename $0`"
aoetools-36/aoe-mkdevs-15-MAJOR=152
##############################################
aoetools-36/aoe-mkdevs-17-dyn=/sys/module/aoe/parameters/aoe_dyndevs
aoetools-36/aoe-mkdevs:18:if test -r "$dyn" && test "`cat $dyn`" = 1; then
aoetools-36/aoe-mkdevs-19-	cat 1>&2 <<EOF
##############################################
aoetools-36/aoe-mkdevs-55-
aoetools-36/aoe-mkdevs:56:mkshelf=`echo $0 | sed 's!mkdevs!mkshelf!'`
aoetools-36/aoe-mkdevs-57-i=0
##############################################
aoetools-36/aoe-mkdevs-59-	$mkshelf $dir $i
aoetools-36/aoe-mkdevs:60:	i=`expr $i + 1`
aoetools-36/aoe-mkdevs-61-done
##############################################
aoetools-36/aoe-mkshelf.in-4-
aoetools-36/aoe-mkshelf.in:5:zero=`basename $0`
aoetools-36/aoe-mkshelf.in-6-
##############################################
aoetools-36/aoe-mkshelf.in-12-dyn=/sys/module/aoe/parameters/aoe_dyndevs
aoetools-36/aoe-mkshelf.in:13:if test -r "$dyn" && test "`cat $dyn`" = 1; then
aoetools-36/aoe-mkshelf.in-14-	cat 1>&2 <<EOF
##############################################
aoetools-36/aoe-mkshelf.in-40-endp=$(($n_partitions - 1))
aoetools-36/aoe-mkshelf.in:41:for slot in `seq 0 $maxslot`; do
aoetools-36/aoe-mkshelf.in:42:	for part in `seq 0 $endp`; do
aoetools-36/aoe-mkshelf.in-43-		name=e$shelf.$slot
##############################################
aoetools-36/aoe-mkshelf.in-47-
aoetools-36/aoe-mkshelf.in:48:		minor=`expr $minor + 1`
aoetools-36/aoe-mkshelf.in-49-	done