#!/bin/bash cat > blah.js << EOF EOF cat > test.js << EOF require("blah"); EOF $TILDEFRIENDS test.js