]> err.no Git - moreutils/log
moreutils
11 years agoUpdate name one more place master
Tollef Fog Heen [Thu, 31 Jan 2013 17:04:27 +0000 (18:04 +0100)]
Update name one more place

11 years agoRename and update
Tollef Fog Heen [Thu, 31 Jan 2013 17:04:08 +0000 (18:04 +0100)]
Rename and update

11 years agocuriouscat: New command to grep output of commands
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).

11 years agots: -i enables incremental timestamping. Thanks, Thomas Vander Stichele
Joey Hess [Thu, 24 Jan 2013 21:12:41 +0000 (08:12 +1100)]
ts: -i enables incremental timestamping. Thanks, Thomas Vander Stichele

11 years agoadd support for incremental timestamping
Thomas Vander Stichele [Thu, 24 Jan 2013 16:11:52 +0000 (17:11 +0100)]
add support for incremental timestamping

11 years agoTypo. Closes: #697113
Joey Hess [Tue, 1 Jan 2013 15:56:26 +0000 (11:56 -0400)]
Typo. Closes: #697113

11 years agoAllow overriding PREFIX and CFLAGS to make the build more flexible (Thanks, Ben Walton)
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)

11 years agoAllow overriding PREFIX and CFLAGS to make the build more flexible
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>
11 years agoreleasing version 0.47
Joey Hess [Mon, 25 Jun 2012 20:34:42 +0000 (16:34 -0400)]
releasing version 0.47

11 years agoUpdate errno manual page with new option
Lars Wirzenius [Tue, 5 Jun 2012 20:45:00 +0000 (21:45 +0100)]
Update errno manual page with new option

11 years agoAdd errno --search-all-locale option
Lars Wirzenius [Tue, 5 Jun 2012 20:42:47 +0000 (21:42 +0100)]
Add errno --search-all-locale option

11 years agoMerge remote-tracking branch 'liw/errno-hurd-patch'
Joey Hess [Tue, 5 Jun 2012 17:55:53 +0000 (13:55 -0400)]
Merge remote-tracking branch 'liw/errno-hurd-patch'

11 years agoChange how errno values are printed, for portability
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.

11 years agoMerge commit '67f22bd1b6c2acfa5d23fa1821a0c9e895d085eb'
Joey Hess [Tue, 5 Jun 2012 16:09:30 +0000 (12:09 -0400)]
Merge commit '67f22bd1b6c2acfa5d23fa1821a0c9e895d085eb'

11 years agoMake errno obey locale
Lars Wirzenius [Tue, 5 Jun 2012 14:14:07 +0000 (15:14 +0100)]
Make errno obey locale

11 years agoFix errno manpage to include --search in synopsis
Lars Wirzenius [Tue, 5 Jun 2012 14:12:37 +0000 (15:12 +0100)]
Fix errno manpage to include --search in synopsis

11 years agoAdd --search option to errno
Lars Wirzenius [Tue, 5 Jun 2012 14:11:37 +0000 (15:11 +0100)]
Add --search option to errno

11 years agoAdd --help and add --list to manpage
Lars Wirzenius [Tue, 5 Jun 2012 14:03:26 +0000 (15:03 +0100)]
Add --help and add --list to manpage

11 years agoAdd --list option to errno
Lars Wirzenius [Tue, 5 Jun 2012 13:58:32 +0000 (14:58 +0100)]
Add --list option to errno

11 years agoerrno: New utility that looks up errno numbers or names.
Joey Hess [Mon, 4 Jun 2012 15:52:01 +0000 (11:52 -0400)]
errno: New utility that looks up errno numbers or names.

11 years agolet's inline the awk
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)

11 years agoAdd errno manpage
Lars Wirzenius [Mon, 4 Jun 2012 13:22:42 +0000 (14:22 +0100)]
Add errno manpage

11 years agoAdd copyright statement
Lars Wirzenius [Mon, 4 Jun 2012 13:22:25 +0000 (14:22 +0100)]
Add copyright statement

11 years agoAdd errno to README
Lars Wirzenius [Mon, 4 Jun 2012 13:14:39 +0000 (14:14 +0100)]
Add errno to README

11 years agoAdd errno program
Lars Wirzenius [Mon, 4 Jun 2012 13:14:08 +0000 (14:14 +0100)]
Add errno program

11 years agofix cleanup on error
Joey Hess [Tue, 22 May 2012 17:39:24 +0000 (13:39 -0400)]
fix cleanup on error

12 years agoreleasing version 0.46
Joey Hess [Tue, 10 Apr 2012 15:48:31 +0000 (11:48 -0400)]
releasing version 0.46

12 years agocleanup
Joey Hess [Mon, 9 Apr 2012 20:19:20 +0000 (16:19 -0400)]
cleanup

12 years agocombine: Avoid reading files twice, to support data coming from pipes. Closes: #66796...
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

12 years agoupdated debian copyright format url
Joey Hess [Sat, 25 Feb 2012 14:53:16 +0000 (10:53 -0400)]
updated debian copyright format url

12 years agoTypo. Closes: #649158
Joey Hess [Fri, 18 Nov 2011 17:37:25 +0000 (13:37 -0400)]
Typo. Closes: #649158

12 years agoreleasing version 0.45
Joey Hess [Sun, 19 Jun 2011 20:20:19 +0000 (16:20 -0400)]
releasing version 0.45

13 years agots: Support %.s for seconds sinch epoch with subsecond resolution. Closes: #619764
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

13 years agoreleasing version 0.44
Joey Hess [Thu, 10 Mar 2011 21:38:58 +0000 (17:38 -0400)]
releasing version 0.44

13 years agopee: Propigate exit status of commands run.
Joey Hess [Sat, 19 Feb 2011 21:35:32 +0000 (17:35 -0400)]
pee: Propigate exit status of commands run.

13 years agodep5 update
Joey Hess [Sat, 19 Feb 2011 21:35:08 +0000 (17:35 -0400)]
dep5 update

13 years agotypo: sed s/agganges/arranges/
Barak A. Pearlmutter [Mon, 24 Jan 2011 14:02:44 +0000 (14:02 +0000)]
typo: sed s/agganges/arranges/

13 years agoDEP-5
Joey Hess [Thu, 13 Jan 2011 21:24:02 +0000 (17:24 -0400)]
DEP-5

13 years agoreleasing version 0.43
Joey Hess [Sun, 31 Oct 2010 00:59:44 +0000 (20:59 -0400)]
releasing version 0.43

13 years agochronic: New command, runs a command quietly, unless it fails.
Joey Hess [Fri, 29 Oct 2010 19:49:33 +0000 (15:49 -0400)]
chronic: New command, runs a command quietly, unless it fails.

13 years agoreleasing version 0.42
Joey Hess [Thu, 7 Oct 2010 00:06:06 +0000 (20:06 -0400)]
releasing version 0.42

13 years agoupdate
Joey Hess [Mon, 13 Sep 2010 20:38:28 +0000 (16:38 -0400)]
update

13 years agominor
Joey Hess [Mon, 13 Sep 2010 20:36:55 +0000 (16:36 -0400)]
minor

13 years agoput back optimisation when outputting to stdout
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.

13 years agosponge: Ensure that output file permissions are always preserved if it already exists.
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.

13 years agoindentation change
Joey Hess [Mon, 13 Sep 2010 19:57:49 +0000 (15:57 -0400)]
indentation change

13 years agosponge: Guarantee that output file is always updated atomically, by renaming a temp...
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

13 years agoTypo. Closes: #596032
Joey Hess [Wed, 8 Sep 2010 06:09:43 +0000 (02:09 -0400)]
Typo. Closes: #596032

13 years agoreleasing version 0.41
Joey Hess [Thu, 2 Sep 2010 20:49:37 +0000 (16:49 -0400)]
releasing version 0.41

13 years agosponge: Correct bad use of fread that caused a trailing quantity of soaked data to...
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.

13 years agofix url
Joey Hess [Mon, 12 Jul 2010 19:05:00 +0000 (15:05 -0400)]
fix url

13 years agoAdd missing AUTHOR section to docbook man pages.
Joey Hess [Mon, 12 Jul 2010 19:01:32 +0000 (15:01 -0400)]
Add missing AUTHOR section to docbook man pages.

13 years agoifdata.docbook: Mark interface as required in synopsis. Closes: #588397
Joey Hess [Thu, 8 Jul 2010 18:40:30 +0000 (14:40 -0400)]
ifdata.docbook: Mark interface as required in synopsis. Closes: #588397

13 years agoclarify
Joey Hess [Wed, 7 Jul 2010 17:08:48 +0000 (13:08 -0400)]
clarify

based on suggestion from Dieter Plaetinck

13 years agoreleasing version 0.40
Joey Hess [Tue, 6 Jul 2010 23:42:05 +0000 (19:42 -0400)]
releasing version 0.40

13 years agoupdate
Joey Hess [Tue, 6 Jul 2010 19:08:08 +0000 (15:08 -0400)]
update

13 years agoparallel: -i will now replace {} inside parameters, before the {} had to be a separat...
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.

13 years agooptimisations and fix memory leak
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.

13 years agolckdo: Now deprecated, since util-linux's flock(1) can do the same thing.
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.

13 years agouse dpkg-mergechangelog
Joey Hess [Mon, 24 May 2010 15:12:47 +0000 (11:12 -0400)]
use dpkg-mergechangelog

14 years agoadd note about 578517
Joey Hess [Wed, 28 Apr 2010 15:47:55 +0000 (11:47 -0400)]
add note about 578517

14 years agozrun: Add support for .xz files.
Joey Hess [Tue, 23 Feb 2010 20:58:54 +0000 (15:58 -0500)]
zrun: Add support for .xz files.

14 years agofix load edge case
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.

14 years agoallow -l 0
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.

14 years agoparallel: Allow a decimal load value to be specified with -l
Joey Hess [Tue, 23 Feb 2010 20:44:08 +0000 (15:44 -0500)]
parallel: Allow a decimal load value to be specified with -l

14 years agoparallel: Fix logic error in code handling -l that could make parallel return a bogus...
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

14 years agoparallel: Fix to really avoid running new jobs when load is too high.
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.

14 years agoparallel: Make -j 0 do something reasonable (start all jobs at once).
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).

14 years agoparallel: Fix exit code handling when commands are specified after --
Joey Hess [Tue, 23 Feb 2010 18:59:20 +0000 (13:59 -0500)]
parallel: Fix exit code handling when commands are specified after --

14 years agoCap sillyness. Closes: #570815
Joey Hess [Sun, 21 Feb 2010 18:16:23 +0000 (13:16 -0500)]
Cap sillyness. Closes: #570815

14 years agoreleasing version 0.38
Joey Hess [Tue, 9 Feb 2010 21:42:14 +0000 (16:42 -0500)]
releasing version 0.38

14 years agochangelog
Joey Hess [Tue, 9 Feb 2010 20:47:40 +0000 (15:47 -0500)]
changelog

14 years agoparallel: Define WEXITED to allow building on FreeBSD kernel. (This is somewhat exper...
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.)

14 years agofreebsd patch from Enrico Tassi
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.

14 years agowording
Joey Hess [Sat, 31 Oct 2009 23:02:53 +0000 (19:02 -0400)]
wording

14 years agoparallel: Allow running independent commands, like `parallel -j3 -- ls df "echo hi"`
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"`

14 years agoDescription improvements. Closes: #549450 (Thanks, Justin B Rye)
Joey Hess [Mon, 5 Oct 2009 17:33:27 +0000 (13:33 -0400)]
Description improvements. Closes: #549450 (Thanks, Justin B Rye)

14 years agoreleasing version 0.37
Joey Hess [Sat, 25 Jul 2009 08:23:55 +0000 (10:23 +0200)]
releasing version 0.37

14 years agoparallel.1: Typo fixes. Closes: #538147
Joey Hess [Sat, 25 Jul 2009 08:03:42 +0000 (10:03 +0200)]
parallel.1: Typo fixes. Closes: #538147

14 years agoupdate
Joey Hess [Sat, 25 Jul 2009 08:02:56 +0000 (10:02 +0200)]
update

14 years agosupport -n option
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>
14 years agoparallel: Clarify man page regarding CPUs. Closes: #536597
Joey Hess [Wed, 15 Jul 2009 14:13:52 +0000 (10:13 -0400)]
parallel: Clarify man page regarding CPUs. Closes: #536597

14 years agoreleasing version 0.36
Joey Hess [Fri, 10 Jul 2009 15:04:21 +0000 (11:04 -0400)]
releasing version 0.36

14 years agoupdate
Joey Hess [Fri, 10 Jul 2009 15:01:25 +0000 (11:01 -0400)]
update

14 years agouse sysconf to determine number of processors
Joey Hess [Fri, 10 Jul 2009 14:51:46 +0000 (10:51 -0400)]
use sysconf to determine number of processors

14 years agoupdate
Joey Hess [Fri, 10 Jul 2009 14:51:43 +0000 (10:51 -0400)]
update

14 years agoMerge commit 'remotes/tollef/master'
Joey Hess [Fri, 10 Jul 2009 14:37:28 +0000 (10:37 -0400)]
Merge commit 'remotes/tollef/master'

14 years agoFix indentation
Tollef Fog Heen [Fri, 10 Jul 2009 12:11:17 +0000 (14:11 +0200)]
Fix indentation

14 years agoparallel: Argument validation
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.

14 years agoparallel: Assume -j 1 if no -j or -l is given
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

14 years agomispipe: Fix closing of extra pipe FD before starting command so it is not inherited...
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)

14 years agoavoid uninitalized value warning
Joey Hess [Thu, 2 Jul 2009 19:17:59 +0000 (15:17 -0400)]
avoid uninitalized value warning

14 years agomisc formatting
Joey Hess [Thu, 2 Jul 2009 19:17:27 +0000 (15:17 -0400)]
misc formatting

14 years agoparallel: New program, contributed by Tollef Fog Heen, that can run multiple jobs...
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.

14 years agoparallel: Implement -l (maxload) and -i (replace {})
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.

14 years agoparallel: Fix typo in usage string
Tollef Fog Heen [Tue, 30 Jun 2009 02:28:00 +0000 (04:28 +0200)]
parallel: Fix typo in usage string

14 years agoReturn non-zero if something goes wrong
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.

14 years agoCompile parallel by default
Tollef Fog Heen [Tue, 30 Jun 2009 02:25:55 +0000 (04:25 +0200)]
Compile parallel by default

14 years agoAdd initial writeup of parallel tool
Tollef Fog Heen [Tue, 30 Jun 2009 02:19:07 +0000 (04:19 +0200)]
Add initial writeup of parallel tool

15 years agoreleasing version 0.35 origin/HEAD origin/master 0.35
Joey Hess [Tue, 5 May 2009 19:19:37 +0000 (15:19 -0400)]
releasing version 0.35