Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on What I learned from others' shell scripts. Parent comment
APP_ROOT=`dirname "$0"`
Also, even if ^J or ^M were present in a parent directory's name, the command above would still work. Whitespace-like characters take some getting used to with Bash.
There are no comments on this comment yet.
Also, even if ^J or ^M were present in a parent directory's name, the command above would still work. Whitespace-like characters take some getting used to with Bash.