News for hackers. Stuff that matters.
Re:How to Write a Git Commit Message (2014) by jwilk on Thursday March 16, 2017 @08:39PM (#13890410)
You want printf, not echo.

echo is a very non-portable command. POSIX says: "if any of the operands contain a <backslash> character, the results are implementation‐defined."

Re:How to Write a Git Commit Message (2014) by milesrout on Friday March 17, 2017 @09:00PM (#13899290)
why would the portability of the commands I type directly into my shell matter?
Re:How to Write a Git Commit Message (2014) by jwilk on Saturday March 18, 2017 @06:13PM (#13903770)
In your shell, it doesn't matter much.

In a HN comment, it matters, because other people will read the comment and may learn bad habits.