Search Results

Search: Posts Made By: buzzusa
20,641
Posted By ahamed101
Using awk cat infile 20111220|102000 ...
Using awk


cat infile
20111220|102000



awk -F"|" '{ x=$1;y=$2;
diff=systime()-mktime(substr(x,0,4)OFS substr(x,5,2)OFS substr(x,7,2)OFS substr(y,0,2)OFS substr(y,3,2)" 00")
print...
Showing results 1 to 1 of 1

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