Hacker News new | ask | show | jobs
by throwaway2037 1333 days ago
echo is unreliable; I agree. Instead, I use "paranoid" printf with leading double dash:

    prinf -- "fmt str here..." "$carefully" "$quoted" "$args"
1 comments

printf -- "fmt str here..." "${carefully}" "${quoted}" "${args}"
What is the difference?
In this example: None