Re: tail patch
Jim Meyering <[email protected]>
| Newsgroups | gmane.comp.gnu.textutils.bugs |
|---|---|
| Message-ID | <[email protected]> |
Augey Mikus <[email protected]> wrote: > I've created a patch for the tail.c file of textutils which allows for > a time less than 1 for specifying refresh delay when following a file > with -f. I am however, wondering why this ability wasn't added > earlier. This option is available for other utilities such as top. > > Please let me know if you would like the patched tail.c file, or if > not, why this option is decidedly not included in tail. Thanks for the offer. That'd be a useful change. Your patch should make tail use the nanosleep function and add the same sort of code that's already in sh-utils' src/sleep.c. If you also update the documentation (both --help output and doc/coreutils.texi) to reflect this change, that'd be nice. Your patch should be relative to this release: ftp://alpha.gnu.org/gnu/fetish/textutils-2.0.21.tar.gz Please send unidiff-style diffs (diff -u output). Jim