Hacker News new | ask | show | jobs
by S4M 3928 days ago
It depends of the complexity of the software. The small Unix utilities like grep or ls are, AFAIK, bug free, because what they do is very simple, but something more complicated is more likely to have small bugs somewhere.
2 comments

There was a bug in ls, long ago; it stuck around long enough that it became a feature. It was supposed to not list "." or "..", but instead it skipped all files starting with "."; which thus became the standard way to hide a file on *nix.
http://savannah.gnu.org/bugs/?group=grep: "48 matching items - Items 1 to 48"

https://bugs.freebsd.org/bugzilla/buglist.cgi?quicksearch=bs...: "15 bugs found."

Not all of these are bugs, but there definitely are bugs in populair implementations of grep.