Search Results

Search: Posts Made By: Ruchika
9,930
Posted By Corona688
GNU date can be used more simply than that with...
GNU date can be used more simply than that with its -r reference file option:

DT=$(date -r summary_file.sql +"%y/%m/%d %H:%M:%S")

GNU date might be available on some Solaris as gdate or...
9,930
Posted By RudiC
Quite sparse a request, no? What tools would be...
Quite sparse a request, no? What tools would be preferred? What would the data be used for, and how? How or where to store the data? In a file? In stdout (to be piped into sth.)? In shell variables?...
9,930
Posted By andy391791
Not sure if your specifications requires the...
Not sure if your specifications requires the quotations or not but what about:

awk '{print "\""$6,$7,$8"\"","\""substr($9,1,length($9)-4)"\""}' filename

Will produce:

"Jun 03 16:32"...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 11:33 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy