Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Safe ways to do things in bash. Parent comment
echo hello "$( echo hello \ | sed 's,hello,world,g' )"
I use [ exclusively, but with && and ||, instead of -a and -o respectfully.
e.g. [ -e "$file" ] && [ -w "$file" ] instead of [ -e "$file" -a -w "$file" ].
[1] http://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu...
There are no comments on this comment yet.
I use [ exclusively, but with && and ||, instead of -a and -o respectfully.
e.g. [ -e "$file" ] && [ -w "$file" ] instead of [ -e "$file" -a -w "$file" ].
[1] http://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu...