Hacker News new | ask | show | jobs
by sgarland 755 days ago
GNU and BSD tooling differs in small, but sometimes breaking ways. One example off the top of my head is that GNU sed accepts `sed -i`, but BSD requires `sed -i ''`, i.e. an empty string to tell it not to back up the existing file. Or GNU awk having sorting capabilities. Etc.
1 comments

Or the lack of a portable stat :(.