]>
err.no Git - moreutils/log
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)
Joey Hess [Sun, 3 May 2009 00:41:06 +0000 (20:41 -0400)]
ifdata: Don't assume that all interface names are 6 characters or less, for instance "wmaster0" is longer. Increase the limit to 20 characters. Closes: #526654 (Thanks, Alan Pope)
Joey Hess [Thu, 11 Dec 2008 20:12:53 +0000 (15:12 -0500)]
releasing version 0.34
Joey Hess [Thu, 11 Dec 2008 20:11:19 +0000 (15:11 -0500)]
vipe: Avoid dying on empty input. Thanks, Anders Kaseorg Closes: #508491
Joey Hess [Fri, 31 Oct 2008 21:03:08 +0000 (17:03 -0400)]
releasing version 0.33
Joey Hess [Fri, 31 Oct 2008 21:01:02 +0000 (17:01 -0400)]
Fix zrun breakage introduced last version. Closes: #504129
Joey Hess [Tue, 28 Oct 2008 02:41:30 +0000 (22:41 -0400)]
changelog
Evan Broder [Tue, 28 Oct 2008 01:58:48 +0000 (21:58 -0400)]
Support installing moreutils into prefixes other than /usr
Joey Hess [Mon, 27 Oct 2008 03:51:00 +0000 (23:51 -0400)]
Fix pod error in vidir(1).
Joey Hess [Sat, 27 Sep 2008 22:05:33 +0000 (18:05 -0400)]
zrun: Can be linked to zsomeprog to run the equivilant of zrun someprog.
* zrun: Can be linked to zsomeprog to run the equivilant of zrun someprog.
Closes: #411623 (Stefan Fritsch)
* zrun: Add support for lzma and lzo. (Stefan Fritsch)
Joey Hess [Wed, 9 Jul 2008 17:06:26 +0000 (13:06 -0400)]
typo
Joey Hess [Sun, 29 Jun 2008 03:23:15 +0000 (23:23 -0400)]
releasing version 0.31
Joey Hess [Wed, 28 May 2008 18:32:48 +0000 (14:32 -0400)]
ts: Support displaying fractional seconds via a "%.S" conversion specification. Closes: #482789
Joey Hess [Wed, 28 May 2008 17:42:18 +0000 (13:42 -0400)]
pee.1: Document difference with tee in stdout.
Joey Hess [Wed, 14 May 2008 23:42:14 +0000 (19:42 -0400)]
releasing version 0.30
Joey Hess [Mon, 12 May 2008 20:04:36 +0000 (16:04 -0400)]
ifne: If no command is specified, print usage information.
Vicho [Thu, 1 May 2008 10:17:45 +0000 (12:17 +0200)]
Added -n option to ifne.
With -n, ifne runs the command if the standard input is empty and does
nothing otherwise.
Joey Hess [Sat, 10 May 2008 22:05:05 +0000 (18:05 -0400)]
update
Joey Hess [Sat, 10 May 2008 22:05:01 +0000 (18:05 -0400)]
typo
Joey Hess [Sat, 10 May 2008 22:02:55 +0000 (18:02 -0400)]
eh, I didn't mean to revert that
(or push out the reversion, oops.. too late)
Joey Hess [Sat, 10 May 2008 16:37:48 +0000 (12:37 -0400)]
Revert "debhelper v7; rules file minimisation"
This reverts commit
83e8da32e5d3154f1c97e6eb62c30450ff95b5af .
Greg KH [Sat, 10 May 2008 05:49:30 +0000 (22:49 -0700)]
patch for moreutils Makefile
Hi,
I just packaged up moreutils for Gentoo and added it to their system,
I'll go add it to the SuSE repo system next week as well, thanks a lot
for the utils.
Here's a small patch to the makefile to make it easier for distros to
change the docbook2x-man binary as it is named other things (Gentoo for
example has it as docbook2man.pl). This way it can be changed on the
build line, and the Makefile doesn't have to be patched.
Thanks for already fixing the DESTDIR thing, that also will make things
easier.
And also, you mention dropping you an email if you want to be notified
when new versions come out, I'd appreciate it if you could add me to
that list if you have one.
thanks again,
greg k-h
--------------------
Subject: Make docbook2x-man able to be overridden in Makefile
This makes it easier for distros that do not have the docbook2x-man
binary with that name, override it on the command line instead of having
to patch the Makefile.
Joey Hess [Sat, 26 Apr 2008 23:27:12 +0000 (19:27 -0400)]
debhelper v7; rules file minimisation
Use DESTDIR instead of PREFIX.
Joey Hess [Tue, 15 Apr 2008 19:37:21 +0000 (15:37 -0400)]
releasing version 0.29
Joey Hess [Sun, 13 Apr 2008 00:37:28 +0000 (20:37 -0400)]
ts improvements
* ts: Allow both -r and a format to be specified, to parse dates and output
in a specified format.
* ts: Fix bug in timezone regexp.
Joey Hess [Fri, 11 Apr 2008 23:11:33 +0000 (19:11 -0400)]
fix mode of new file renamed from temp file
Joey Hess [Fri, 11 Apr 2008 23:03:50 +0000 (19:03 -0400)]
minor changes
Joey Hess [Fri, 11 Apr 2008 22:55:10 +0000 (18:55 -0400)]
honor TMPDIR
Joey Hess [Fri, 11 Apr 2008 22:34:34 +0000 (18:34 -0400)]
optimize tempfile copying
Reuse the buffer and copy in chunks that are the full buffer size.
Joey Hess [Fri, 11 Apr 2008 22:27:40 +0000 (18:27 -0400)]
more fixes to tempfile writeback
Avoid overwriting symlinks with the temp file.
When renaming the temp file, restore the original file's permissions after.
Joey Hess [Fri, 11 Apr 2008 21:47:28 +0000 (17:47 -0400)]
set umask before calling mkstemp
This is a POSIX portability thing.
Restore the original umask after.
Joey Hess [Fri, 11 Apr 2008 21:44:19 +0000 (17:44 -0400)]
update physmem copyright
The file was earlier changed to the older, GPL 2 version.
Joey Hess [Fri, 11 Apr 2008 21:42:38 +0000 (17:42 -0400)]
fix two bugs writing the output file
If the output file doesn't exist, the new code was buggy and did not create
it.
Also, the rename could fail (ie, /tmp on another filesystem). So if it
falls fall back to the manual copy.
Joey Hess [Fri, 11 Apr 2008 20:15:29 +0000 (16:15 -0400)]
move code into a function
Joey Hess [Fri, 11 Apr 2008 20:10:18 +0000 (16:10 -0400)]
fix edge cases
If a file an exact multiple of the max buffer size were sponged, it
would fail at the end due to trying to write 0 remaining bytes from the
buffer to the temp file. A similar bug occurred if sponge's input was
empty. Amazing how such a seemingly simple thing can get so tricky..
Also added check for read error from the temp file, just in case.
Joey Hess [Fri, 11 Apr 2008 19:54:30 +0000 (15:54 -0400)]
reorder defines
Joey Hess [Fri, 11 Apr 2008 19:53:38 +0000 (15:53 -0400)]
set up signal handlers before creating temp file
Avoids a small race..
Joey Hess [Fri, 11 Apr 2008 19:50:47 +0000 (15:50 -0400)]
another round of whitespace fixes
Brock Noland [Fri, 11 Apr 2008 19:22:39 +0000 (14:22 -0500)]
remove debug
Signed-off-by: Brock Noland <brockn@gmail.com>
Brock Noland [Fri, 11 Apr 2008 18:16:09 +0000 (13:16 -0500)]
sponge fixes
*Fixed many bugs relating to renaming of temp file to output file
*Doesn't set umask, not sure what correct behavior is
*Does not try and delete /tmp/sponge.XXXXXX on exit if there was no temporary file used
*Uses temporary file when buffer * 2 is >= mem_available as the buffer will double shortly after this operation
*Only traps signals if we are creating a temporary file
*Cleaned up error messages
Signed-off-by: Brock Noland <brockn@gmail.com>
Joey Hess [Fri, 11 Apr 2008 04:36:46 +0000 (00:36 -0400)]
better usage message
Joey Hess [Fri, 11 Apr 2008 04:35:24 +0000 (00:35 -0400)]
update changelog
Joey Hess [Fri, 11 Apr 2008 04:32:31 +0000 (00:32 -0400)]
convert to new format
Joey Hess [Fri, 11 Apr 2008 03:49:31 +0000 (23:49 -0400)]
first pass thru the code
Mostly limited to layout consistency changes, but I also moved a block of
code into a function, and removed a funky use of enum.
Joey Hess [Fri, 11 Apr 2008 03:28:15 +0000 (23:28 -0400)]
make sponge use a temp file if the input is large
patch from Brock Noland
Joey Hess [Thu, 10 Apr 2008 18:11:21 +0000 (14:11 -0400)]
sponge, ifne: Ensure that suspending/resuming doesn't result in partial writes of the data, by using fwrite() rather than write().
Joey Hess [Thu, 10 Apr 2008 18:05:25 +0000 (14:05 -0400)]
sponge: Ensure that suspending/resuming doesn't result in partial writes of the data, by using fwrite() rather than write().
Joey Hess [Thu, 20 Mar 2008 16:57:08 +0000 (12:57 -0400)]
Add ifne, contributed by Javier Merino.
Javier Merino [Thu, 20 Mar 2008 12:03:26 +0000 (13:03 +0100)]
Moreutils: Added ifne
Hi, I read the suggestion about ifne in the Discussion page of
moreutils and found it interesting. It's a command that runs another
process if the standard input is not empty. I think it can be very
useful in admin scripts so I've implemented it. I attach a patch
against the current head of moreutils' git. You may include it in
moreutils if you think it's worth it.
I've considered making an "ifempty" or "ifne -v" that would run a
command if the standard input is empty, but I'm not sure if that could
be useful. Any comments will be appreciated. Regards,
Javi
Joey Hess [Sat, 2 Feb 2008 22:27:02 +0000 (17:27 -0500)]
releasing version 0.28