i have a k shell script that grep less than certain modified date
-------------------------------------------------
#!/bin/ksh
for i in *
do
day=`ls -ltr | grep $i | tr -s " " | cut -d " " -f6-7 | awk 'substr($0,7,4)substr($0,1,5)substr($0,11)<"Feb 1"' `
echo $day
done
-------------------------------------------------------------------
if suppose i want to grep only those date less than Feb 1 2007,how to put this logic in ? also the above script shows me only the o/p as
Dec 25
dec 24
i have jan files also,but it is not showing up
help me