[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Duration between two time stamps
From: |
Seth David Schoen |
Subject: |
Re: Duration between two time stamps |
Date: |
Wed, 18 Aug 2021 19:22:57 -0700 |
hancooper writes:
> What command would one use to set A and B ?
You said you had the timestamps already, so I imagined that they would
be stored in shell variables. In this case, A and B just represent the
names of the shell variables.
You can set a shell variable with the = sign, for example
A=1000
or
A="$foo"
to reuse the value of an existing variable, or
A=$(date +%s)
to capture the output of another shell command.
- Duration between two time stamps, hancooper, 2021/08/18
- Re: Duration between two time stamps, Seth David Schoen, 2021/08/18
- Duration between two time stamps, hancooper, 2021/08/18
- Re: Duration between two time stamps,
Seth David Schoen <=
- Re: Duration between two time stamps, Koichi Murase, 2021/08/18
- Re: Duration between two time stamps, Tapani Tarvainen, 2021/08/19
- Duration between two time stamps, hancooper, 2021/08/19
- Re: Duration between two time stamps, Alex fxmbsw7 Ratchev, 2021/08/19
- Duration between two time stamps, hancooper, 2021/08/19
- Re: Duration between two time stamps, Koichi Murase, 2021/08/19
- Duration between two time stamps, hancooper, 2021/08/19
- Re: Duration between two time stamps, Alex fxmbsw7 Ratchev, 2021/08/19
- Re: Duration between two time stamps, Greg Wooledge, 2021/08/19
- Duration between two time stamps, hancooper, 2021/08/19