1

Replace matched file path with contents of file at the path with sed

view story
linux-howto

http://unix.stackexchange.com – I want to write a short deployment script which enters the contents of javascript-files into the single html file. These js files are currently declared as: <script src="js/jquery-1.8.2.js"></script> <script src="js/jquery.rotate-2.2.js"></script> <script src="js/underscore.js"></script> <script src="js/backbone.js"></script> <script src="js/backbone.dualstorage.js"></script> <script src="js/favourites.js"></script> <script src="js/menuItem.js"></script> <script src="js/companies.js">< (HowTos)