In bash without using Ant, Grunt or similar, I want to concatenate some files.
I don't think is should be harder than a few lines of bash.
I don't want to use a build tool as they do in this SO Post.
I want to use bash similar to this SO Post.
It would be something like:
cat *.js > all.txt
However, I want to only cat .js files that have this form
object.SomeName.js
As a side question, do most people break out their .js into objects?
What about:
cat object.*.js >> all.txt
Also there are dependencies between the objects, so ordering matters.
What ordering does cat work in?