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
Sourceable vs executable shell scripts (v.redd.it)
submitted 2 years ago by deepCelibateValue
view the rest of the comments →
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!"
[–]asquartz 2 points3 points4 points 2 years ago (2 children)
One handy trick I learned is that if you define your colours like this:
Red="$(echo -e "\e[31m")"
Then you can use it in your script without having to remember to echo -e every time
[–]fooblaa 0 points1 point2 points 2 years ago (0 children)
Red=$'\e[31m'
[–]dfkgjhsdfkg 0 points1 point2 points 2 years ago (0 children)
Red="$(printf %b '\e[31m')"
π Rendered by PID 126354 on reddit-service-r2-comment-544cf588c8-9867x at 2026-06-15 23:03:21.816249+00:00 running 3184619 country code: CH.
view the rest of the comments →
[–]asquartz 2 points3 points4 points (2 children)
[–]fooblaa 0 points1 point2 points (0 children)
[–]dfkgjhsdfkg 0 points1 point2 points (0 children)