Search Results

Search: Posts Made By: Peasant
5,633
Posted By Peasant
Rudi is right, i missed the conversion and header...
Rudi is right, i missed the conversion and header part, having hardcoded date value for the first field.

Please see correction :

BEGIN {
FS=","
OFS=";"
print...
5,633
Posted By Peasant
Try this, save it as into file small.awk ...
Try this, save it as into file small.awk

BEGIN {
FS=","
OFS=";"
}
{
$1=strftime("%Y-%m-%d %H:%M:%S")
$2=86400
print $1,$2,$7,$3,$4,$5,$6,$NF
}


Run as :
awk -f small.awk test1 >...
Showing results 1 to 2 of 2

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