Subject | Hash | Author | Date (UTC) |
---|---|---|---|
document -m | c5a0deb4fbca8d95a63374e2b2ef1ac0f87520c1 | Joey Hess | 2017-10-31 16:58:05 |
else indent style fix | 52e35719dc334da747c543f0da8f2fd0e537b2c6 | Joey Hess | 2017-10-30 16:51:58 |
ts: Introduce '-m' option to use CLOCK_MONOTONIC | 96809417fcceb13c83caa6b16d8174ea209bce27 | Ben Leinweber | 2017-10-30 15:24:47 |
Revert "ts: Introduce '-m' option to use CLOCK_MONOTONIC" | b6a010d759c53befdc9755760d28b6647d50f8b0 | Joey Hess | 2017-10-30 16:50:34 |
ts: Add -m option to use monotonic clock. Thanks, Ben Leinweber | 12845e32adcaa18b83cd8f3f01fddf9189c7ebda | Joey Hess | 2017-10-30 16:49:36 |
else indent style fix | 5b628493242860cdbec41a23e23bb561c96e4b40 | Joey Hess | 2017-10-30 16:49:12 |
ts: Introduce '-m' option to use CLOCK_MONOTONIC | d4592ac408f2086a3ed305c3fccf9107763e2be4 | Ben Leinweber | 2017-10-30 15:24:47 |
releasing package moreutils version 0.61 | 01d1b22f22fae647cbfd855dc82f8d9548607ab0 | Joey Hess | 2017-04-19 14:31:30 |
chronic: Flush output more often to better preserve stdout,err ordering. | 53c35a635276bb78f098947755dd072b5b800358 | Joey Hess | 2016-10-17 15:49:07 |
releasing package moreutils version 0.60 | 1173bd9f10d731485f3b63f1c7ff55eb9c58a605 | Joey Hess | 2016-08-13 13:58:21 |
Modify Cygwin check to use findstring instead of uname -o | 2d427c09cff6e7666e07c301c4b46c6206362a36 | Tony Kelman | 2016-08-10 03:23:52 |
changelog | e725f4d1607312a8ed3a5690e2926c26d5c48a61 | Joey Hess | 2016-07-19 01:03:36 |
include licence text | 29f0d5b620d63de94c066d50e4e468b51037c543 | Joey Hess | 2016-07-19 01:03:25 |
add dependency | e1a2473fff49f7caee1561bff38ee43ba5a97507 | Joey Hess | 2016-07-19 01:02:15 |
Merge is_utf8 from https://github.com/julienpalard/is_utf8. | 089fa36ad806246278b43df8dadb9a7882d39e54 | Julien Palard | 2016-07-18 22:48:55 |
changelog | ccf04c19111b1a2ccae7a16bb07a38a528a34a64 | Joey Hess | 2016-07-15 20:20:10 |
cygwin support | dee9b5042951795cd7abc415f1c4f4becc6363d3 | StalkR | 2016-07-15 08:48:35 |
releasing package moreutils version 0.59 | f891e8d7aafa336b89d0252e31bf52e1510de6b8 | Joey Hess | 2016-04-02 19:23:51 |
style cleanup | 411d6d3c6a8912c83cfc8a77747d4e68ed66cb4f | Joey Hess | 2016-04-02 19:22:55 |
stderr trigger and verbose mode | 5394ef715c4550a627bb2b212de55008f58302b1 | Tomas Mudrunka | 2016-03-31 15:01:35 |
File | Lines added | Lines deleted |
---|---|---|
ts | 8 | 1 |
File ts changed (mode: 100755) (index 405446a..0ff8669) | |||
... | ... | case of -s, the time elapsed since start of the program is used. | |
33 | 33 | The default format changes to "%H:%M:%S", and "%.S" and "%.s" can be used | The default format changes to "%H:%M:%S", and "%.S" and "%.s" can be used |
34 | 34 | as well. | as well. |
35 | 35 | ||
36 | The -m switch makes the system's monotonic clock be used. | ||
37 | |||
36 | 38 | =head1 ENVIRONMENT | =head1 ENVIRONMENT |
37 | 39 | ||
38 | 40 | The standard TZ environment variable controls what time zone dates | The standard TZ environment variable controls what time zone dates |
... | ... | my $inc=0; | |
58 | 60 | my $sincestart=0; | my $sincestart=0; |
59 | 61 | my $mono=0; | my $mono=0; |
60 | 62 | use Getopt::Long; | use Getopt::Long; |
61 | GetOptions("r" => \$rel, "i" => \$inc, "s" => \$sincestart, "m" => \$mono) || die "usage: ts [-r] [-i | -s] [format]\n"; | ||
63 | GetOptions( | ||
64 | "r" => \$rel, | ||
65 | "i" => \$inc, | ||
66 | "s" => \$sincestart, | ||
67 | "m" => \$mono | ||
68 | ) || die "usage: ts [-r] [-i | -s] [-m] [format]\n"; | ||
62 | 69 | ||
63 | 70 | if ($rel) { | if ($rel) { |
64 | 71 | eval q{ | eval q{ |