Re: UNIX QUESTION

Re: UNIX QUESTION

 

  

Don't curse me this solution :)

Why don't you remove that condition ($6 == "00:00") itself ? Hope, it
makes sense.

:) Aliyar Sahib



"George McKenzie
"
<oracledba-ezmlms To
hield-x53086022.x "LazyDBA Discussion"
[Email Address Removed] <[Email address protected]
A.com> cc

03/03/2005 02:59 Subject
AM 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....



--------
website: http://www.LazyDBA.com
Please don't reply to RTFM questions
Oracle documentation is here: http://tahiti.oracle.com
To unsubscribe: see http://www.lazydba.com/unsubscribe.html
To subscribe: see http://www.lazydba.com
By using this list you agree to these terms:
http://www.lazydba.com/legal.html




Oracle LazyDBA home page