> This one will work but the better way is to do it using find. 
> 
> ls -al | tr -s " " | cut -d " " -f6-7 | grep 'Jan 5'
> 
> But i dont know how ls will differentiate between Jan 5 2003 and Jan 5
> 2004.

Strange i see something like this when i do a ls.

-rw-rw-r--    1 vinu     vinu            0 Jun 12  2001 test1

-rw-r--r--    1 vinu     vinu       274468 Dec 28 05:57 test2

i.e for some files i see the year field and for some files i do not see
the year field and instead see a time field.

Why does ls behave like this?!

-- 
G.Vinubalaji

 MultiTech (())            
Software Systems


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to