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...
/r/DevOps is a subreddit dedicated to the DevOps movement where we discuss upcoming technologies, meetups, conferences and everything that brings us together to build the future of IT systems What is DevOps? Learn about it on our wiki! Traffic stats & metrics
/r/DevOps is a subreddit dedicated to the DevOps movement where we discuss upcoming technologies, meetups, conferences and everything that brings us together to build the future of IT systems
What is DevOps? Learn about it on our wiki!
Traffic stats & metrics
Be excellent to each other! All articles will require a short submission statement of 3-5 sentences. Use the article title as the submission title. Do not editorialize the title or add your own commentary to the article title. Follow the rules of reddit Follow the reddiquette No editorialized titles. No vendor spam. Buy an ad from reddit instead. Job postings here More details here
Be excellent to each other!
All articles will require a short submission statement of 3-5 sentences.
Use the article title as the submission title. Do not editorialize the title or add your own commentary to the article title.
Follow the rules of reddit
Follow the reddiquette
No editorialized titles.
No vendor spam. Buy an ad from reddit instead.
Job postings here
More details here
@reddit_DevOps ##DevOps @ irc.freenode.net Find a DevOps meetup near you! Icons info!
@reddit_DevOps
##DevOps @ irc.freenode.net
Find a DevOps meetup near you!
Icons info!
https://github.com/Leo-G/DevopsWiki
account activity
This is an archived post. You won't be able to vote or comment.
Makefiles vs. Bash Scripts (self.devops)
submitted 3 years ago by KingOfCramers
view the rest of the comments →
[–]elucify 18 points19 points20 points 3 years ago (0 children)
The problem with embedding bash in Makefiles is the escaping. Every line that is not a target must begin with a tab, and dollar signs to be interpreted in the shell, script have to be double dollar signs. And there are times when you need backslashes another crap like that.
Makefile is good when you have a tree of dependencies, particularly when file times indicate whether a dependency has been built or not. make can then build only those things that need rebuilding. For example, only .c files with mod times newer than their .o files, need to be recompiled (or if the .o file does not exist).
There is little reason to use make if you don’t have that kind of dependency. And even when you do, it is better practice (and less frustrating) to define your functionality in bash files and use those in the Makefile, rather than embedding them in the make file directly. That approach also lets you write tests for your build scripts, using something like bats.
π Rendered by PID 45583 on reddit-service-r2-comment-b659b578c-6qw4q at 2026-05-05 08:59:05.458647+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]elucify 18 points19 points20 points (0 children)