Closed ghost closed 5 years ago
Hah this is probably related to https://github.com/jethrokuan/z/pull/68/ as well.
Not sure why I've never seen issues with not printing the newline char, and what's different between our systems such that it affects your use.
As
printf(1)
does not add a newline character after printing a string, asecho(1)
does, this character must be explicitly added. I don't know if the author was usingecho(1)
before and decided to useprintf(1)
for portability purposes but forgot to add the newlines, so I'm adding them.And my conscience was dictating me to do it, as I was enraged by the amount of return chars it was generating while I was learning the tool :joy: