Synopsis: head(1) returns EXIT_SUCCESS upon EOF

State-Changed-From-To: open->closed
State-Changed-By: arundel
State-Changed-When: Wed Feb 23 21:22:24 UTC 2011
State-Changed-Why: 
I'm afraid your assumption is wrong. The POSIX specs [1] clearly state that

"When a file contains less than number lines, it shall be copied
to standard output in its entirety. This shall not be an error."

[1] http://pubs.opengroup.org/onlinepubs/9699919799/

http://www.freebsd.org/cgi/query-pr.cgi?pr=154983
_______________________________________________
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to