===========================================================
                                      .___ __  __   
          _________________  __ __  __| _/|__|/  |_ 
         / ___\_` __ \__  \ |  |  \/ __ | | \\_  __\
        / /_/  >  | \// __ \|  |  / /_/ | |  ||  |  
        \___  /|__|  (____  /____/\____ | |__||__|  
       /_____/            \/           \/           
              grep rough audit - static analysis tool
                  v2.8 written by @Wireghoul
=================================[justanotherhacker.com]===
fbpanel-7.0/exec/xlogout-12-# get X pid
fbpanel-7.0/exec/xlogout:13:XPID=`< /tmp/.X${DPY}-lock`
fbpanel-7.0/exec/xlogout:14:XPID=`echo $XPID`
fbpanel-7.0/exec/xlogout-15-echo "XPID=$XPID"
##############################################
fbpanel-7.0/exec/xlogout-17-# get pid of xdm (or gdm, kdm, etc). usually it's parent of X
fbpanel-7.0/exec/xlogout:18:XDMPID=`ps -o ppid --pid=$XPID | awk '{if (FNR != 1) print $1}'`
fbpanel-7.0/exec/xlogout-19-echo "XDMPID=$XDMPID"
##############################################
fbpanel-7.0/exec/xlogout-30-    done
fbpanel-7.0/exec/xlogout:31:    for pid in `< $PF`; do
fbpanel-7.0/exec/xlogout:32:        if cwd=`ls -al /proc/$pid/cwd 2>/dev/null`; then
fbpanel-7.0/exec/xlogout:33:            cwd=`sed 's/.*-> //' <<< $cwd`
fbpanel-7.0/exec/xlogout-34-            [ "$cwd" == "$HOME" ] && echo $pid && return
##############################################
fbpanel-7.0/exec/xlogout-36-    done
fbpanel-7.0/exec/xlogout:37:    pids=`< $PF`
fbpanel-7.0/exec/xlogout:38:    [ -n "$pids" ] && pid_scan `< $PF`;
fbpanel-7.0/exec/xlogout-39-}
##############################################
fbpanel-7.0/exec/xlogout-41-PF=/tmp/$$-pids
fbpanel-7.0/exec/xlogout:42:SPID=`pid_scan $XDMPID`
fbpanel-7.0/exec/xlogout-43-rm -f $PF
##############################################
fbpanel-7.0/scripts/custom.sh-18-
fbpanel-7.0/scripts/custom.sh:19:add_var glib_cflags "glib cflags" '`RFS=$rfs scripts/rfs-pkg-config --cflags glib-2.0`'
fbpanel-7.0/scripts/custom.sh:20:add_var gtk_cflags "gtk cflags" '`RFS=$rfs scripts/rfs-pkg-config --cflags gtk+-2.0`'
fbpanel-7.0/scripts/custom.sh-21-
fbpanel-7.0/scripts/custom.sh:22:add_var glib_libs "glib libs" '`RFS=$rfs scripts/rfs-pkg-config --libs glib-2.0`'
fbpanel-7.0/scripts/custom.sh:23:add_var gtk_libs "gtk libs" '`RFS=$rfs scripts/rfs-pkg-config --libs gtk+-2.0`'
fbpanel-7.0/scripts/custom.sh-24-
##############################################
fbpanel-7.0/scripts/endianess.sh-8-# x86 and friends are considerd LITTLE endian, all others are BIG
fbpanel-7.0/scripts/endianess.sh:9:a=`${CC:-gcc} -v 2>&1 | grep Target`
fbpanel-7.0/scripts/endianess.sh-10-[ $? -ne 0 ] && exit 1
##############################################
fbpanel-7.0/scripts/rfs-pkg-config-14-if [ -n "$RFS" ]; then
fbpanel-7.0/scripts/rfs-pkg-config:15:    ds=`find $RFS  -maxdepth 4 -name pkgconfig -type d`
fbpanel-7.0/scripts/rfs-pkg-config-16-    [ $? -ne 0 ] && [ -z "$ds" ] && exit 1
##############################################
fbpanel-7.0/www/plugins/mk_gallery-16-    for dir in $i*; do
fbpanel-7.0/www/plugins/mk_gallery:17:        shot=shots/`ls -1 $dir/shot.*`
fbpanel-7.0/www/plugins/mk_gallery:18:        thumb=shots/`ls -1 $dir/thumb.*`
fbpanel-7.0/www/plugins/mk_gallery-19-        text=$dir/text.html
##############################################
fbpanel-7.0/www/plugins/mk_gallery-25-           <img src=\"$thumb\" style=\"border: 1px solid ;\"> </a> <br>\
fbpanel-7.0/www/plugins/mk_gallery:26:          `cat $text 2>/dev/null` </td>" >> "$1"
fbpanel-7.0/www/plugins/mk_gallery-27-        br="x$br"
##############################################
fbpanel-7.0/www/shots/mk_gallery-19-
fbpanel-7.0/www/shots/mk_gallery:20:    vers=`ls -d1 $v.* | sed -e 's/-..//' | sort -unr -k 1.3`
fbpanel-7.0/www/shots/mk_gallery-21-    for i in $vers; do
##############################################
fbpanel-7.0/www/shots/mk_gallery-27-        echo "Ver $i"
fbpanel-7.0/www/shots/mk_gallery:28:        shot_dirs=`ls -1d $i-* | sort -n`
fbpanel-7.0/www/shots/mk_gallery-29-        # start from new row
##############################################
fbpanel-7.0/www/shots/mk_gallery-32-            echo "  $dir"
fbpanel-7.0/www/shots/mk_gallery:33:            shot=shots/`ls -1 $dir/shot.*`
fbpanel-7.0/www/shots/mk_gallery:34:            thumb=shots/`ls -1 $dir/thumb.*`
fbpanel-7.0/www/shots/mk_gallery-35-            text=$dir/text.html