News for hackers. Stuff that matters.
Re:Stop using tail -f (mostly) by acdha on Monday March 30, 2015 @02:39PM (#9291595)
Is there a bug report open for that yet? FreeBSD has this so they should be able to resync easily enough
Re:Stop using tail -f (mostly) by rjcz on Tuesday March 31, 2015 @02:00AM (#9294616)
Why would they? It's not needed - '-F', '--retry' and the like are redundant. IMVHO, OpenBSD's '-f' behaviour should have been the default elsewhere, too. How many times in the past have you deliberately followed the file descriptor (coreutils' default '-f' behaviour) instead of its name? Every single time I used it in the past on Linux, this is what I thought:

    "For f***** sake! I should have used '-F'! Arghhh...!"
Obviously, I'm paraphrasing ;^)
Re:Stop using tail -f (mostly) by acdha on Tuesday March 31, 2015 @08:56AM (#9295810)
I'm not saying that the OpenBSD behaviour is wrong but that compatibility is a worthwhile goal. Adding a simple -F alias for their existing behaviour would allow people's habits & shell scripts to just work without changes.
Re:Stop using tail -f (mostly) by currysausage on Monday March 30, 2015 @07:09PM (#9293242)
Why? OpenBSD's implementation makes sense to me.

> FreeBSD has this

OpenBSD ≠ FreeBSD, and that's fine.

Re:Stop using tail -f (mostly) by protomyth on Monday March 30, 2015 @05:00PM (#9292583)
I don't think its a bug
Re:Stop using tail -f (mostly) by acdha on Monday March 30, 2015 @06:47PM (#9293142)
If you want to be pedantic, no, it's not a bug but in the vast majority of the software world people use the term “bug tracker” to refer to a system which also tracks new work which isn't strictly a defect.

And, since we're being pedantic, when I said “vast majority of the software world”, that includes the OpenBSD project:

“Sending in bug reports

If possible, use the sendbug(1) command to get the bug into our tracking system. Sendbug requires that your system can properly send Internet email. If you cannot use sendbug on a functional OpenBSD machine, please send your bug report to [email protected].

Perhaps what you are sending in is a feature request, not necessarily a bug. New features are accepted, especially with code that implements your suggested new feature.”

http://www.openbsd.org/report.html#bugtypes

Re:Stop using tail -f (mostly) by protomyth on Monday March 30, 2015 @07:47PM (#9293426)
Ok, but it has an -f behavior that seems to do the right thing. I don't think I would file a request to add flags that aren't needed.

I'm not being "pedantic", I just don't think there is anything to change.

Re:Stop using tail -f (mostly) by acdha on Tuesday March 31, 2015 @08:58AM (#9295819)
The idea is that if everyone else is converging on "tail -F" supporting that as an alias means that people's habits & shell scripts just work without modification. That seems worth adding a single line to a switch statement to me.
Re:Stop using tail -f (mostly) by oofabz on Monday March 30, 2015 @06:38PM (#9293103)
Me either, but bug reports are used for feature requests too, not only bugs.
Re:Stop using tail -f (mostly) by protomyth on Monday March 30, 2015 @07:49PM (#9293433)
and I don't think it needs a new set of flags since it, for me, does the right thing with -f currently.