I need to scan through 28 files ::--->
/bin/ls -alt $SDIR/*$IDENTIFIER*log|awk '{print $9}'|grep Celerra.avtar.log | tee $ALL > $FILESLOG
And I want to pull out multiple items from each file ::--->
for i in `cat $FILESLOG`
do
echo -e "/bin/grep "<5905>" $SDIR/$i | awk '{print $1, $11}' \c"
echo -e "/bin/grep -i " <6083>: " $SDIR/$i \c"
echo -e "/bin/grep -i "<5156>" $SDIR/$i | grep -v snapview \c"
echo -e "/bin/grep "<9611>" $SDIR/$i|awk '{print $1, $2, $11}' \c"
echo -e "/bin/grep "<11820>" $SDIR/$i|awk '{print $1, $2, $9}' \c"
done
While keeping each passes of data on one line...
This isn't doing it...
any idea's?
Thanks...
Joe Despres
/bin/ls -alt $SDIR/*$IDENTIFIER*log|awk '{print $9}'|grep Celerra.avtar.log | tee $ALL > $FILESLOG
And I want to pull out multiple items from each file ::--->
for i in `cat $FILESLOG`
do
echo -e "/bin/grep "<5905>" $SDIR/$i | awk '{print $1, $11}' \c"
echo -e "/bin/grep -i " <6083>: " $SDIR/$i \c"
echo -e "/bin/grep -i "<5156>" $SDIR/$i | grep -v snapview \c"
echo -e "/bin/grep "<9611>" $SDIR/$i|awk '{print $1, $2, $11}' \c"
echo -e "/bin/grep "<11820>" $SDIR/$i|awk '{print $1, $2, $9}' \c"
done
While keeping each passes of data on one line...
This isn't doing it...
any idea's?
Thanks...
Joe Despres