> I admit, my instinctive response is "don't do that". :-/ My use case is along the lines of cat >$password_file <<- EOF $user: $password EOF which appears to be the only safe way not relying on echo/printf being built-in.