Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- filename='leidyns.txt'
- logname='leidysystem.log'
- filelines=`cat $filename`
- filegrep=`grep $line $logname`
- echo Start
- for line in $filelines ; do
- if grep $line $logname
- then
- echo "yes"
- else
- echo "no"
- fi
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement