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 $line "was not found in the log file." >> results.txt
- fi
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement