5 ms·
I wish there was a tail -f <wildchar> that follow even if new files are created that match. my systems timestamp their logs by hour, and more than once I've be
by throw_away 16y ago
I wish there was a tail -f <wildchar> that follow even if new files are created that match. my systems timestamp their logs by hour, and more than once I've been confused as to why the app just "stopped" just to realize that it's five past.
- rbanffy 16y agoI am on my phone now (and, while its heart is a Linux kernel, it doesn't have a terminal, bash or tail. Maybe if you don't expand the wildcard tail will detect new files.
- throw_away 16y agono, if you give it a literal wildcard (like you would to find, for example), it just complains that it can't find the file called *.
- rbanffy 16y agoGuess if you really want it, you could submit a patch (or roll out your own fork) http://git.savannah.gnu.org/cgit/coreutils.git/tree/src/tail.c http://git.savannah.gnu.org/cgit/coreutils.git/tree/src/tail... Doesn't look very bad, but I am known for being an optimist.