Linux

file 리스트를 반환하는 shell script

noah.kim 2009. 4. 27. 20:29
반응형

#!/bin/sh

for file in *
do
if grep -q POSIX $file
then
echo $file
fi
done
exit 0