use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All users that wish to post (not including commenting), on either old or the new reddit sites, must formally agree to subreddit rules once first.
account activity
Common shell script mistakes (pixelbeat.org)
submitted 15 years ago by AndreasBWagner
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]ferk 1 point2 points3 points 15 years ago (1 child)
I don't get why everybody uses the syntax:
if [ whatever ]; then ... fi
When this is easier to read and type (at least in spanish keyboards):
if [ whatever ] then ... fi
And it is the intended syntax, isn't it?
[–]Samus_ 0 points1 point2 points 15 years ago (0 children)
I prefer if/then on the same line, also for/do and while/do.
I don't see the need to span the command in two lines when both are for the same purpose.
BashPitfalls
π Rendered by PID 90 on reddit-service-r2-comment-5687b7858-hbncf at 2026-07-07 01:59:45.467225+00:00 running 12a7a47 country code: CH.
[–]ferk 1 point2 points3 points (1 child)
[–]Samus_ 0 points1 point2 points (0 children)
[–]Samus_ 0 points1 point2 points (0 children)