Search Results

Search: Posts Made By: telemi
2,617
Posted By telemi
It works now!
Hi,
No very nice command line but at least it works:

/tmp$ awk -F";" '{ print $1 ;}' test.csv| xargs -I{} date -d {} +%s > temp.csv ; paste -d ';' tt.csv test.csv; rm -f temp.csv

...
2,617
Posted By telemi
Replace date_time to unixtime in csv.file
Hello,
since hours I am trying to replace in a csv-file the date_time to unixtime.
I tried sed, awk but not successful. I can not call a shell command within awk.
Probably there is an easier way....
Showing results 1 to 2 of 2

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