"ts -r" doesn't work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
moreutils (Debian) |
Fix Released
|
Unknown
|
|||
moreutils (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: moreutils
ts is one of the commands in moreutils for "timestamp input". The man page says:
If the -r switch is passed, it instead converts existing timestamps in the input to relative times, such as "15m5s ago". Many common timestamp
formats are supported. Note that the Time::Duration and Date::Parse perl modules are required for this mode to work.
However if you use the "-r" option, you get the following error message:
$ echo test | ts -r
Can't locate Time/Duration.pm in @INC (@INC contains: /etc/perl /usr/local/
BEGIN failed--compilation aborted at (eval 1) line 3.
If ts depends on extra perl modules to work, then moreutils should depend on it
ProblemType: Bug
Architecture: i386
Date: Tue Jan 12 20:17:30 2010
DistroRelease: Ubuntu 9.10
Package: moreutils 0.35
ProcEnviron:
PATH=(custom, user)
LANG=en_IE.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: moreutils
Uname: Linux 2.6.31-16-generic i686
Changed in moreutils (Debian): | |
status: | Unknown → New |
Changed in moreutils (Debian): | |
status: | New → Fix Released |
Hi,
This issue is still present on Ubuntu 12.04