]>
err.no Git - moreutils/log
Tollef Fog Heen [Mon, 12 Jul 2010 08:59:53 +0000 (10:59 +0200)]
curiouscat: New command to grep output of commands
curiouscat is used to filter the output of a given command. If it matches,
the full standard out and standard error are printed.
This is useful if you have scripts run from cron that intermittently
print out "No such file or directory" because the directory structure
was changed underneath their feet, but you want to capture any other
errors.
If you pass -v, it will print stdout/stderr if there are lines that do
not match the pattern(s).
Joey Hess [Thu, 24 Jan 2013 21:12:41 +0000 (08:12 +1100)]
ts: -i enables incremental timestamping. Thanks, Thomas Vander Stichele
Thomas Vander Stichele [Thu, 24 Jan 2013 16:11:52 +0000 (17:11 +0100)]
add support for incremental timestamping
Joey Hess [Tue, 1 Jan 2013 15:56:26 +0000 (11:56 -0400)]
Typo. Closes: #697113
Joey Hess [Thu, 26 Jul 2012 03:40:00 +0000 (23:40 -0400)]
Allow overriding PREFIX and CFLAGS to make the build more flexible (Thanks, Ben Walton)
Ben Walton [Thu, 26 Jul 2012 01:25:28 +0000 (21:25 -0400)]
Allow overriding PREFIX and CFLAGS to make the build more flexible
This patch allows the package to be more easily portable to other
systems, such as OpenCSW where we install to /opt/csw and don't always
use gcc.
Signed-off-by: Ben Walton <bwalton@artsci.utoronto.ca>
Joey Hess [Mon, 25 Jun 2012 20:34:42 +0000 (16:34 -0400)]
releasing version 0.47
Lars Wirzenius [Tue, 5 Jun 2012 20:45:00 +0000 (21:45 +0100)]
Update errno manual page with new option
Lars Wirzenius [Tue, 5 Jun 2012 20:42:47 +0000 (21:42 +0100)]
Add errno --search-all-locale option
Joey Hess [Tue, 5 Jun 2012 17:55:53 +0000 (13:55 -0400)]
Merge remote-tracking branch 'liw/errno-hurd-patch'
Lars Wirzenius [Tue, 5 Jun 2012 17:09:29 +0000 (18:09 +0100)]
Change how errno values are printed, for portability
Reported and suggested by Pino Toscano: The Hurd does not #define the
EFOO constants as simple integers, but as expressions. This made the
code that generates errnos.h to misinterpret the value, and always print
0 for every error code. We fix this by instead using the EFOO macro in
errnos.h, so that the preprocessor evaluates it correctly. This is the
right thing to do anyway, for every platform.
Thus the table changes from {"EFOO",42} to {"EFOO",EFOO} for each
entry.
Joey Hess [Tue, 5 Jun 2012 16:09:30 +0000 (12:09 -0400)]
Lars Wirzenius [Tue, 5 Jun 2012 14:14:07 +0000 (15:14 +0100)]
Make errno obey locale
Lars Wirzenius [Tue, 5 Jun 2012 14:12:37 +0000 (15:12 +0100)]
Fix errno manpage to include --search in synopsis
Lars Wirzenius [Tue, 5 Jun 2012 14:11:37 +0000 (15:11 +0100)]
Add --search option to errno
Lars Wirzenius [Tue, 5 Jun 2012 14:03:26 +0000 (15:03 +0100)]
Add --help and add --list to manpage
Lars Wirzenius [Tue, 5 Jun 2012 13:58:32 +0000 (14:58 +0100)]
Add --list option to errno
Joey Hess [Mon, 4 Jun 2012 15:52:01 +0000 (11:52 -0400)]
errno: New utility that looks up errno numbers or names.
Joey Hess [Mon, 4 Jun 2012 15:48:19 +0000 (11:48 -0400)]
let's inline the awk
it's not *too* ugly (or my ugly tolerance for Makefiles is high)
Lars Wirzenius [Mon, 4 Jun 2012 13:22:42 +0000 (14:22 +0100)]
Add errno manpage
Lars Wirzenius [Mon, 4 Jun 2012 13:22:25 +0000 (14:22 +0100)]
Add copyright statement
Lars Wirzenius [Mon, 4 Jun 2012 13:14:39 +0000 (14:14 +0100)]
Add errno to README
Lars Wirzenius [Mon, 4 Jun 2012 13:14:08 +0000 (14:14 +0100)]
Add errno program
Joey Hess [Tue, 22 May 2012 17:39:24 +0000 (13:39 -0400)]
fix cleanup on error
Joey Hess [Tue, 10 Apr 2012 15:48:31 +0000 (11:48 -0400)]
releasing version 0.46
Joey Hess [Mon, 9 Apr 2012 20:19:20 +0000 (16:19 -0400)]
cleanup
Joey Hess [Mon, 9 Apr 2012 20:18:21 +0000 (16:18 -0400)]
combine: Avoid reading files twice, to support data coming from pipes. Closes: #667960 Thanks, Carsten Hey
Joey Hess [Sat, 25 Feb 2012 14:53:16 +0000 (10:53 -0400)]
updated debian copyright format url
Joey Hess [Fri, 18 Nov 2011 17:37:25 +0000 (13:37 -0400)]
Typo. Closes: #649158
Joey Hess [Sun, 19 Jun 2011 20:20:19 +0000 (16:20 -0400)]
releasing version 0.45
Joey Hess [Fri, 1 Apr 2011 18:36:03 +0000 (14:36 -0400)]
ts: Support %.s for seconds sinch epoch with subsecond resolution. Closes: #619764
Joey Hess [Thu, 10 Mar 2011 21:38:58 +0000 (17:38 -0400)]
releasing version 0.44
Joey Hess [Sat, 19 Feb 2011 21:35:32 +0000 (17:35 -0400)]
pee: Propigate exit status of commands run.
Joey Hess [Sat, 19 Feb 2011 21:35:08 +0000 (17:35 -0400)]
dep5 update
Barak A. Pearlmutter [Mon, 24 Jan 2011 14:02:44 +0000 (14:02 +0000)]
typo: sed s/agganges/arranges/
Joey Hess [Thu, 13 Jan 2011 21:24:02 +0000 (17:24 -0400)]
DEP-5
Joey Hess [Sun, 31 Oct 2010 00:59:44 +0000 (20:59 -0400)]
releasing version 0.43
Joey Hess [Fri, 29 Oct 2010 19:49:33 +0000 (15:49 -0400)]
chronic: New command, runs a command quietly, unless it fails.
Joey Hess [Thu, 7 Oct 2010 00:06:06 +0000 (20:06 -0400)]
releasing version 0.42
Joey Hess [Mon, 13 Sep 2010 20:38:28 +0000 (16:38 -0400)]
update
Joey Hess [Mon, 13 Sep 2010 20:36:55 +0000 (16:36 -0400)]
minor
Joey Hess [Mon, 13 Sep 2010 20:33:56 +0000 (16:33 -0400)]
put back optimisation when outputting to stdout
Recent changes made it always write to the tmp file, even if it was just
going to send a small quantity of data to stdout. Bring back optimisation
to avoid temp file in that case.
Joey Hess [Mon, 13 Sep 2010 20:08:01 +0000 (16:08 -0400)]
sponge: Ensure that output file permissions are always preserved if it already exists.
Joey Hess [Mon, 13 Sep 2010 19:57:49 +0000 (15:57 -0400)]
indentation change
Joey Hess [Mon, 13 Sep 2010 19:55:34 +0000 (15:55 -0400)]
sponge: Guarantee that output file is always updated atomically, by renaming a temp file into place. Closes: #592144
Joey Hess [Wed, 8 Sep 2010 06:09:43 +0000 (02:09 -0400)]
Typo. Closes: #596032
Joey Hess [Thu, 2 Sep 2010 20:49:37 +0000 (16:49 -0400)]
releasing version 0.41
Joey Hess [Thu, 2 Sep 2010 20:39:51 +0000 (16:39 -0400)]
sponge: Correct bad use of fread that caused a trailing quantity of soaked data to be silently discarded when a temp file was used and sponge output to stdout. Closes: #595220
This bug was sorta introduced by
6f31909ff74c064ea0b5126219b3e8f7b8826bee .
Actually, the buggy fread was there before also, and would have happened
on quantities of data not evenly divisible by 8.
Joey Hess [Mon, 12 Jul 2010 19:05:00 +0000 (15:05 -0400)]
fix url
Joey Hess [Mon, 12 Jul 2010 19:01:32 +0000 (15:01 -0400)]
Add missing AUTHOR section to docbook man pages.
Joey Hess [Thu, 8 Jul 2010 18:40:30 +0000 (14:40 -0400)]
ifdata.docbook: Mark interface as required in synopsis. Closes: #588397
Joey Hess [Wed, 7 Jul 2010 17:08:48 +0000 (13:08 -0400)]
clarify
based on suggestion from Dieter Plaetinck
Joey Hess [Tue, 6 Jul 2010 23:42:05 +0000 (19:42 -0400)]
releasing version 0.40
Joey Hess [Tue, 6 Jul 2010 19:08:08 +0000 (15:08 -0400)]
update
Joey Hess [Tue, 6 Jul 2010 19:06:51 +0000 (15:06 -0400)]
parallel: -i will now replace {} inside parameters, before the {} had to be a separate parameter.
Joey Hess [Tue, 6 Jul 2010 18:55:22 +0000 (14:55 -0400)]
optimisations and fix memory leak
Fork a child before calculating its parameters.
This avoids a minor memory leak; the parameter
array was allocated in the parent and never freed.
Joey Hess [Fri, 18 Jun 2010 17:07:10 +0000 (13:07 -0400)]
lckdo: Now deprecated, since util-linux's flock(1) can do the same thing.
Joey Hess [Mon, 24 May 2010 15:12:47 +0000 (11:12 -0400)]
use dpkg-mergechangelog
Joey Hess [Wed, 28 Apr 2010 15:47:55 +0000 (11:47 -0400)]
add note about 578517
Joey Hess [Tue, 23 Feb 2010 20:58:54 +0000 (15:58 -0500)]
zrun: Add support for .xz files.
Joey Hess [Tue, 23 Feb 2010 20:48:44 +0000 (15:48 -0500)]
fix load edge case
If load == maxload, it would not start a job, but also not sleep. That
could, in theory, make parallel spin for a bit.
Also, clarify docs.
Joey Hess [Tue, 23 Feb 2010 20:47:16 +0000 (15:47 -0500)]
allow -l 0
Now that -l is a decimal value, it makes sense for -l 0.001 and -l 0 to
do effectively the same thing.
Joey Hess [Tue, 23 Feb 2010 20:44:08 +0000 (15:44 -0500)]
parallel: Allow a decimal load value to be specified with -l
Joey Hess [Tue, 23 Feb 2010 20:35:34 +0000 (15:35 -0500)]
parallel: Fix logic error in code handling -l that could make parallel return a bogus 255 exit code when all jobs succeeded. Closes: #569617
Joey Hess [Tue, 23 Feb 2010 19:36:50 +0000 (14:36 -0500)]
parallel: Fix to really avoid running new jobs when load is too high.
The conditions were ORed before, which typically made the load limit be
ignored since the jobs limit was satisfied.
Also, -l 0 makes little sense, so don't really wait for the load to become
lower than 0 in that case.
Joey Hess [Tue, 23 Feb 2010 19:17:26 +0000 (14:17 -0500)]
parallel: Make -j 0 do something reasonable (start all jobs at once).
Joey Hess [Tue, 23 Feb 2010 18:59:20 +0000 (13:59 -0500)]
parallel: Fix exit code handling when commands are specified after --
Joey Hess [Sun, 21 Feb 2010 18:16:23 +0000 (13:16 -0500)]
Cap sillyness. Closes: #570815
Joey Hess [Tue, 9 Feb 2010 21:42:14 +0000 (16:42 -0500)]
releasing version 0.38
Joey Hess [Tue, 9 Feb 2010 20:47:40 +0000 (15:47 -0500)]
changelog
Joey Hess [Tue, 9 Feb 2010 20:40:14 +0000 (15:40 -0500)]
parallel: Define WEXITED to allow building on FreeBSD kernel. (This is somewhat experimental.)
Joey Hess [Tue, 9 Feb 2010 20:35:10 +0000 (15:35 -0500)]
freebsd patch from Enrico Tassi
* ifdata:
- Use unsigned long for ioctl command.
On both Linux and FreeBSD ioctl expects an unsigned long command.
FreeBSD kernel was complaining about the (by chance) signedness of
the ioctl command (then probably ignored, since it worked both on
Linux and FreeBSD).
WARNING pid 799 (ifdata): ioctl sign-extension ioctl
ffffffffc0206933
- put #if defined(__linux__) around ioctls that are not supported by
FreeBSD
- Mention in the manpage that some options are Linux specific.
Joey Hess [Sat, 31 Oct 2009 23:02:53 +0000 (19:02 -0400)]
wording
Joey Hess [Sat, 31 Oct 2009 14:20:08 +0000 (10:20 -0400)]
parallel: Allow running independent commands, like `parallel -j3 -- ls df "echo hi"`
Joey Hess [Mon, 5 Oct 2009 17:33:27 +0000 (13:33 -0400)]
Description improvements. Closes: #549450 (Thanks, Justin B Rye)
Joey Hess [Sat, 25 Jul 2009 08:23:55 +0000 (10:23 +0200)]
releasing version 0.37
Joey Hess [Sat, 25 Jul 2009 08:03:42 +0000 (10:03 +0200)]
parallel.1: Typo fixes. Closes: #538147
Joey Hess [Sat, 25 Jul 2009 08:02:56 +0000 (10:02 +0200)]
update
Pierre Habouzit [Wed, 22 Jul 2009 09:17:20 +0000 (11:17 +0200)]
support -n option
This makes parallel stuff more than one argument to the subcommands.
It's very useful when subcommands are slow to start and are able to
process multiple files at once, that tasks are small but plenty.
For example:
$ ./parallel -n 3 echo -- a b c d e f g h
a b c
d e f
g h
Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Joey Hess [Wed, 15 Jul 2009 14:13:52 +0000 (10:13 -0400)]
parallel: Clarify man page regarding CPUs. Closes: #536597
Joey Hess [Fri, 10 Jul 2009 15:04:21 +0000 (11:04 -0400)]
releasing version 0.36
Joey Hess [Fri, 10 Jul 2009 15:01:25 +0000 (11:01 -0400)]
update
Joey Hess [Fri, 10 Jul 2009 14:51:46 +0000 (10:51 -0400)]
use sysconf to determine number of processors
Joey Hess [Fri, 10 Jul 2009 14:51:43 +0000 (10:51 -0400)]
update
Joey Hess [Fri, 10 Jul 2009 14:37:28 +0000 (10:37 -0400)]
Merge commit 'remotes/tollef/master'
Tollef Fog Heen [Fri, 10 Jul 2009 12:11:17 +0000 (14:11 +0200)]
Fix indentation
Tollef Fog Heen [Fri, 10 Jul 2009 12:09:48 +0000 (14:09 +0200)]
parallel: Argument validation
Make sure the arguments passed to -j and -l are numbers and error out
if they are not.
Tollef Fog Heen [Fri, 10 Jul 2009 11:54:21 +0000 (13:54 +0200)]
parallel: Assume -j 1 if no -j or -l is given
Joey Hess [Thu, 2 Jul 2009 19:58:38 +0000 (15:58 -0400)]
mispipe: Fix closing of extra pipe FD before starting command so it is not inherited by daemons. Closes: #533448 (Thanks, Jeremie Koenig)
Joey Hess [Thu, 2 Jul 2009 19:17:59 +0000 (15:17 -0400)]
avoid uninitalized value warning
Joey Hess [Thu, 2 Jul 2009 19:17:27 +0000 (15:17 -0400)]
misc formatting
Joey Hess [Thu, 2 Jul 2009 19:16:26 +0000 (15:16 -0400)]
parallel: New program, contributed by Tollef Fog Heen, that can run multiple jobs in parallel, optionally checking load average.
Tollef Fog Heen [Tue, 30 Jun 2009 02:49:07 +0000 (04:49 +0200)]
parallel: Implement -l (maxload) and -i (replace {})
Add support for only starting jobs when the load average is low
enough, this is done with -l and acts similarly to how make does it.
In order to construct more complex commands, add -i which will make
parallel replace {} with the argument at an arbitrary place in the
command line.
Tollef Fog Heen [Tue, 30 Jun 2009 02:28:00 +0000 (04:28 +0200)]
parallel: Fix typo in usage string
Tollef Fog Heen [Tue, 30 Jun 2009 02:26:16 +0000 (04:26 +0200)]
Return non-zero if something goes wrong
The return code of parallel is the OR-ed exit status of all the
children, with 1 being OR-ed in if any child is killed.
Tollef Fog Heen [Tue, 30 Jun 2009 02:25:55 +0000 (04:25 +0200)]
Compile parallel by default
Tollef Fog Heen [Tue, 30 Jun 2009 02:19:07 +0000 (04:19 +0200)]
Add initial writeup of parallel tool
Joey Hess [Tue, 5 May 2009 19:19:37 +0000 (15:19 -0400)]
releasing version 0.35
Joey Hess [Tue, 5 May 2009 19:09:40 +0000 (15:09 -0400)]
remove unnecessary quotes
Joey Hess [Tue, 5 May 2009 19:06:34 +0000 (15:06 -0400)]
isutf8: Reject UTF-8-encoded UTF-16 surrogates. Closes: #525301 (Thanks, Jakub Wilk and liw)