Whence '\n'?

If you do just foo , the following justfile will write a single byte 0x0A to a file named bar: x := "\n" foo: printf '{{x}}' > bar Let's find out where that 0x0A byte comes from. just is written in Rust, and the just parser has a function called cook_string , which transforms a just string token containing escape sequences into a UTF-8 string. The code is here here . With some irrelevant details…