-
Notifications
You must be signed in to change notification settings - Fork 95
Open
Labels
Description
I using tabs, because of the great application in these heredocs:
#!/usr/bin/env bash
main() {
cat > "message.txt" <<-EOF
Hello, ${USER}!
This has no leading whitespace.
It is also nested in a more readable way.
All indentation here is with tabs.
EOF
}
[[ "$0" == "${BASH_SOURCE}" ]] && main "$@"