summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-12-11releasing version 0.340.34Joey Hess1-2/+2
2008-12-11vipe: Avoid dying on empty input. Thanks, Anders Kaseorg Closes: #508491Joey Hess2-2/+9
2008-10-31releasing version 0.330.33Joey Hess1-2/+2
2008-10-31Fix zrun breakage introduced last version. Closes: #504129Joey Hess2-1/+2
2008-10-27changelogJoey Hess1-0/+6
2008-10-27Support installing moreutils into prefixes other than /usrEvan Broder1-5/+6
2008-10-26Fix pod error in vidir(1).0.32Joey Hess2-2/+5
2008-09-27zrun: Can be linked to zsomeprog to run the equivilant of zrun someprog.Joey Hess2-5/+29
* 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)
2008-07-09typoJoey Hess1-1/+1
2008-06-28releasing version 0.310.31Joey Hess2-3/+3
2008-05-28ts: Support displaying fractional seconds via a "%.S" conversion ↵Joey Hess2-3/+24
specification. Closes: #482789
2008-05-28pee.1: Document difference with tee in stdout.Joey Hess2-1/+10
2008-05-14releasing version 0.300.30Joey Hess1-2/+2
2008-05-12ifne: If no command is specified, print usage information.Joey Hess3-2/+6
2008-05-12Added -n option to ifne.Vicho2-20/+65
With -n, ifne runs the command if the standard input is empty and does nothing otherwise.
2008-05-10updateJoey Hess1-0/+1
2008-05-10typoJoey Hess1-1/+1
2008-05-10eh, I didn't mean to revert thatJoey Hess6-43/+21
(or push out the reversion, oops.. too late)
2008-05-10Revert "debhelper v7; rules file minimisation"Joey Hess6-21/+43
This reverts commit 83e8da32e5d3154f1c97e6eb62c30450ff95b5af.
2008-05-10patch for moreutils MakefileGreg KH1-7/+9
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.
2008-04-26debhelper v7; rules file minimisationJoey Hess6-43/+21
Use DESTDIR instead of PREFIX.
2008-04-15releasing version 0.290.29Joey Hess2-3/+3
2008-04-12ts improvementsJoey Hess2-2/+11
* 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.
2008-04-11fix mode of new file renamed from temp fileJoey Hess1-3/+13
2008-04-11minor changesJoey Hess1-5/+7
2008-04-11honor TMPDIRJoey Hess1-6/+19
2008-04-11optimize tempfile copyingJoey Hess1-7/+5
Reuse the buffer and copy in chunks that are the full buffer size.
2008-04-11more fixes to tempfile writebackJoey Hess1-21/+33
Avoid overwriting symlinks with the temp file. When renaming the temp file, restore the original file's permissions after.
2008-04-11set umask before calling mkstempJoey Hess1-1/+3
This is a POSIX portability thing. Restore the original umask after.
2008-04-11update physmem copyrightJoey Hess1-1/+1
The file was earlier changed to the older, GPL 2 version.
2008-04-11fix two bugs writing the output fileJoey Hess1-15/+18
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.
2008-04-11move code into a functionJoey Hess1-14/+24
2008-04-11fix edge casesJoey Hess1-5/+10
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.
2008-04-11reorder definesJoey Hess1-1/+1
2008-04-11set up signal handlers before creating temp fileJoey Hess1-3/+6
Avoids a small race..
2008-04-11another round of whitespace fixesJoey Hess1-54/+55
2008-04-11remove debugBrock Noland1-1/+0
Signed-off-by: Brock Noland <brockn@gmail.com>
2008-04-11sponge fixesBrock Noland2-51/+72
*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>
2008-04-11better usage messageJoey Hess1-1/+1
2008-04-11update changelogJoey Hess1-0/+2
2008-04-11convert to new formatJoey Hess1-26/+45
2008-04-10first pass thru the codeJoey Hess1-183/+170
Mostly limited to layout consistency changes, but I also moved a block of code into a function, and removed a funky use of enum.
2008-04-10make sponge use a temp file if the input is largeJoey Hess2-21/+532
patch from Brock Noland
2008-04-10sponge, ifne: Ensure that suspending/resuming doesn't result in partial ↵Joey Hess2-8/+13
writes of the data, by using fwrite() rather than write().
2008-04-10sponge: Ensure that suspending/resuming doesn't result in partial writes of ↵Joey Hess2-10/+10
the data, by using fwrite() rather than write().
2008-03-20Add ifne, contributed by Javier Merino.Joey Hess2-0/+9
2008-03-20Moreutils: Added ifneJavier Merino5-2/+175
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
2008-02-02releasing version 0.280.28Joey Hess1-2/+2
2008-02-02* Add example to man page about recursive modification of directories.Joey Hess2-5/+21
Closes: #390099
2008-02-02* vidir: Applied patch from Stefan Fritsch (one part of #412176):Joey Hess2-6/+47
- Check for control characters (especially newlines) in filenames and error out, since this can greatly confuse the editor or vidir. - If the source of a rename does not exist (and thus the rename will fail anyway), vidir should not move an existing target file to a tmpfile. - If a directory is renamed, vidir should take that into account when renaming files in this directory. - If a directory name is passed as name/ to vidir, vidir should not add second slash after the name. * vidir: Add support for unlinking directories. To recursivly delete a directory and its contents, pipe find to vidir, and delete the directory and its contents in the editor. Closes: #412176