nicolas / debian.moreutils (public) (License: GPL-2, GPL-2+, Expat, BSD-2-Clause, Public Domain) (since 2018-09-25) (hash sha1)
Debian packaging of joeyh's moreutils
List of commits:
Subject Hash Author Date (UTC)
ts: Added %.T format like %T but with hi-res. 19d1bde3491f737c2d3babd94de0de8eb9d9b1c9 Joey Hess 2017-11-27 21:18:56
make -m start at current time 3d31d550ffc75f7eada0d6cb624a98423b54bbd2 Joey Hess 2017-10-31 17:02:48
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
Commit 19d1bde3491f737c2d3babd94de0de8eb9d9b1c9 - ts: Added %.T format like %T but with hi-res.
Thanks, Matt Koscica
Author: Joey Hess
Author date (UTC): 2017-11-27 21:18
Committer name: Joey Hess
Committer date (UTC): 2017-11-27 21:18
Parent(s): 3d31d550ffc75f7eada0d6cb624a98423b54bbd2
Signing key: DB12DB0FF05F8F38
Tree: 3dbf686565f59de34d48c28abaef904b5a9f382d
File Lines added Lines deleted
debian/changelog 2 0
ts 6 5
File debian/changelog changed (mode: 100644) (index bf80599..1c08f38)
... ... moreutils (0.62) UNRELEASED; urgency=medium
2 2
3 3 * ts: Add -m option to use monotonic clock. * ts: Add -m option to use monotonic clock.
4 4 Thanks, Ben Leinweber Thanks, Ben Leinweber
5 * ts: Added %.T format like %T but with hi-res.
6 Thanks, Matt Koscica
5 7
6 8 -- Joey Hess <id@joeyh.name> Mon, 30 Oct 2017 12:49:18 -0400 -- Joey Hess <id@joeyh.name> Mon, 30 Oct 2017 12:49:18 -0400
7 9
File ts changed (mode: 100755) (index 35dc626..4dad3d4)
... ... ts adds a timestamp to the beginning of each line of input.
14 14
15 15 The optional format parameter controls how the timestamp is formatted, The optional format parameter controls how the timestamp is formatted,
16 16 as used by L<strftime(3)>. The default format is "%b %d %H:%M:%S". In as used by L<strftime(3)>. The default format is "%b %d %H:%M:%S". In
17 addition to the regular strftime conversion specifications, "%.S" and "%.s"
18 are like "%S" and "%s", but provide subsecond resolution
19 (ie, "30.00001" and "1301682593.00001").
17 addition to the regular strftime conversion specifications,
18 "%.S" and "%.s" and "%.T"
19 are like "%S" and "%s" and "%T", but provide subsecond resolution
20 (ie, "30.00001" and "1301682593.00001" and "1:15:30.00001").
20 21
21 22 If the -r switch is passed, it instead converts existing timestamps in If the -r switch is passed, it instead converts existing timestamps in
22 23 the input to relative times, such as "15m5s ago". Many common timestamp the input to relative times, such as "15m5s ago". Many common timestamp
 
... ... $format=shift if @ARGV;
85 86
86 87 # For subsecond resolution, Time::HiRes is needed. # For subsecond resolution, Time::HiRes is needed.
87 88 my $hires=0; my $hires=0;
88 if ($format=~/\%\.[Ss]/ || $mono) {
89 if ($format=~/\%\.[SsT]/ || $mono) {
89 90 require Time::HiRes; require Time::HiRes;
90 91 use Time::HiRes qw(CLOCK_MONOTONIC); use Time::HiRes qw(CLOCK_MONOTONIC);
91 92 $hires=1; $hires=1;
 
... ... while (<>) {
140 141 $microseconds = $deltamicroseconds; $microseconds = $deltamicroseconds;
141 142 } }
142 143 my $s=sprintf("%06i", $microseconds); my $s=sprintf("%06i", $microseconds);
143 $f=~s/\%\.([Ss])/%$1.$s/g;
144 $f=~s/\%\.([SsT])/%$1.$s/g;
144 145 print strftime($f, localtime($seconds)); print strftime($f, localtime($seconds));
145 146 } }
146 147 else { else {
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/nicolas/debian.moreutils

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/nicolas/debian.moreutils

Clone this repository using git:
git clone git://git.rocketgit.com/user/nicolas/debian.moreutils

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main