Elliott Hughes
|
4c450efa50
tail: add the long option synonyms for -n and -c.
|
2 år sedan |
Rob Landley
|
98613d4546
Fix tail -F with no arguments.
|
3 år sedan |
Rob Landley
|
ba242e08ee
Teach tail -F to work on file that doesn't initially exist (needed
|
3 år sedan |
Elliott Hughes
|
933f238bd1
tail: implement -F (and its companion -s).
|
3 år sedan |
Rob Landley
|
d511650db5
Rename get_chunk()/dump_chunk() to read_chunk()/write_chunk().
|
4 år sedan |
Rob Landley
|
fee08385a2
Remove TAIL_SEEK config option, just always include it.
|
5 år sedan |
Rob Landley
|
94777894a9
Move notify.c into portability.c (collate the #ifdefs), move global variables
|
5 år sedan |
Elliott Hughes
|
c82d310894
tail: support -f on BSD too.
|
5 år sedan |
Rob Landley
|
747e296ff6
Add FLAG(x) macro, expanding to (toys.optflags & FLAG_##x)
|
5 år sedan |
Elliott Hughes
|
141a075c0e
Clean up some --help formatting.
|
5 år sedan |
Rob Landley
|
482c422f8e
Convert more argument variables in GLOBALS() to new style.
|
5 år sedan |
Elliott Hughes
|
eb7e847adc
Be more consistent about periods in help text.
|
7 år sedan |
Rob Landley
|
eed9ed41aa
Replace loopfiles' failok with WARN_ONLY open flag.
|
7 år sedan |
Elliott Hughes
|
e57cb17960
Fix tail -NUM again.
|
8 år sedan |
Rob Landley
|
ada3c0876d
Fix last commit (had newline before first ==> name <==) and add -f tests.
|
8 år sedan |
Josh Gao
|
426bc7fb4f
Fix "tail -f single_file".
|
8 år sedan |
Elliott Hughes
|
5f58880c15
Fix tail -f /does/not/exist.
|
8 år sedan |
Rob Landley
|
55a44676fa
Cleanup tail -f.
|
8 år sedan |
Josh Gao
|
908d9edb66
Implement tail -f.
|
8 år sedan |
Josh Gao
|
5cb6505406
tail: use off_t instead of ssize_t for file offset.
|
8 år sedan |
Paul Barker
|
1dd3704c5f
To ensure that toybox can be installed alongside busybox without
|
9 år sedan |
Rob Landley
|
8d3b3987b8
tail: add old -123 support and comment out #-f until it's actually implemented.
|
9 år sedan |
Rob Landley
|
159a7f1621
Fix "tail -c 10" segfault spotted by Lukasz Szpakowski.
|
9 år sedan |
Rob Landley
|
de36079ccd
Fix use after free error spotted by ?ukasz Szpakowski.
|
9 år sedan |
Rob Landley
|
5f57bccc41
Redo tail closer to the original design. Add more tests for large data sets. (Still no -f support yet.)
|
10 år sedan |
Felix Janda
|
4b9c20351f
tail: Some fixes
|
11 år sedan |
Rob Landley
|
a5f8c733d4
Squash "type punned pointer" nonsense with a bigger hammer. (Sheesh.)
|
11 år sedan |
Rob Landley
|
7aa651a6a4
Reindent to two spaces per level. Remove vi: directives that haven't worked right in years (ubuntu broke its' vim implementation). Remove trailing spaces. Add/remove blank lines. Re-wordwrap in places. Update documentation with new coding style.
|
11 år sedan |
Rob Landley
|
c0e56edaf2
New build infrastructure to generate FLAG_ macros and TT alias, #define FOR_commandname before #including toys.h to trigger it. Rename DEFINE_GLOBALS() to just GLOBALS() (because I could never remember if it was DECLARE_GLOBALS). Convert existing commands to use new infrastructure, and replace optflag constants with FLAG_ macros where appropriate.
|
11 år sedan |
Rob Landley
|
f91b7c89bc
Regularize command headers, update links to standards documents.
|
12 år sedan |