#!/bin/bash
# little shell script demonstrating how grep with the
# -l option can be used with backquote to populate
# a list of desired files to loop through
# by: Sharon Tuttle
# last modified: 10-10-12
for file in `grep -l oink *`
do
echo "hey looky: $file"
done