#!/bin/bash

mkdir LOOKY-OINKS
for file in `grep -l oink *`
do
    echo "$file found"
    cp $file LOOKY-OINKS
done