i want to use ls -l to get the date and time stamp off of a file, so i do
a ls -l <filename> and pipe the output to awk and have it print the
$6,$7,and the $8 fields. now my problem is that if the kilobytes field is
greater than 1000000 then the $4th and $5th fields get merged and i have
to print the $5th $6th and $7th field to get the same date and time stamp.
is there anyway to get a date and timestamp of a file without ls -l so i
don't have to worry about awk fields getting merged? any help will be
greatly appreciated. thanks -maurice
--
**********************************************************************
* ___ LIVE LONG AND PROSPER! *
* ___....-----'---`-----....___ *
* ========================================= *
* ___`---..._______...---'___ *
* (___) _|_|_|_ (___) Maurice Samuels *
* \\____.-'_.---._`-.____// INTERNET: *
* ~~~~~ *
* *
*on the WWW try: *
* http://homepage.seas.upenn.edu/~samuels/ *
**********************************************************************
here are some quotes:
"Lets make sure history never forgets...the name..Enterprise, Picard out."
Captain Picard - STNG