14 lines
191 B
Bash
14 lines
191 B
Bash
#!/bin/bash
|
|
i=0
|
|
|
|
for F in `find dir | grep -E "\.c"`;do
|
|
if test $i -eq 2;then
|
|
break;
|
|
fi
|
|
s=`cat $F| wc -l `
|
|
if test $s -ge 500;then
|
|
echo $F
|
|
i=`expr $i + 1`
|
|
fi
|
|
done
|