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`
- echo Start
- for line in $filelines ; do
- if grep --quiet $line leidysystem.log ; then
- echo "yes" >> results.txt
- else
- echo "no" >> results.txt
- fi
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement