News for hackers. Stuff that matters.
Re:GNU Nano 4.0 by lexicality on Sunday March 24, 2019 @02:05PM (#19477725)
Pretty sure nano was changing your code to

    echo 'this is a test' > test\n
and then echo was adding the newline because you didn't specify -n.
Re:GNU Nano 4.0 by pushpop on Sunday March 24, 2019 @03:06PM (#19478105)
...and also

  echo 'this is a test\n'
doesn't produce an additional new line because -e wasn't specified.