#!/bin/bash cat > test.js << EOF print("hi"); EOF echo $TILDEFRIENDS test.js $TILDEFRIENDS test.js