Search Results

Search: Posts Made By: arturas123
7,818
Posted By arturas123
does the system command allow to capture the...
does the system command allow to capture the output of it? Eventually I would like to subtract the values: y-x in the script. This script, obviously, does not work:

BEGIN {
system("date +%s") |...
7,818
Posted By arturas123
Elapsed time in seconds in awk
I am trying to get the ellapsed time in seconds in the body of the awk script. I use unix date to get the time. It works in BEGIN {} but not in the body {} of awk. Any ideas?

$ cat a
BEGIN {
...
Showing results 1 to 2 of 2

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