Because not everyone uses macOS.
This shell script works on most Unix-like systems unlike Notes.app
Reply on news.ycombinator.com