Skip to content

Add -f and -F to tail

Jeremy Soller requested to merge AyeTbk:tail_follow into master

Created by: AyeTbk

Adds -f and -F to tail, which allow following the content of a file. Also adds -s to configure how often the utility should check for changes in files.

Also fixed a 'bug' where a newline would be printed when the last line of a file did not end with a newline.

I'd love some feedback!

Note: following files works on Linux, but not on Redox; it seems the seek() function on Redox isn't fully implemented (it seemed like it always returned 0, instead of what it should).

Merge request reports