UNIX QUESTION

UNIX QUESTION

 

  

A question for any UNIX gurus out there....

I have written a procedure that builds a unix shell script.

The main output of the script is:


ls -log | awk ' $4 == "Jan" && $5 == 26 && $6 == "00:00"'

Which finds files created 05 Jan 2005 00:00

Does anyone know how to turn the value for $6 into a wildcard that return values for anytime on that day (ie the equivalent of *:*)??

Many thanks in advance....


Oracle LazyDBA home page