#!/bin/bash while read tmp || [ -n "$tmp" ]; do node index.js $tmp done < ref.txt