Remove final newline
-c, --bytes=[-]NUM print the first NUM bytes of each file; with the leading '-', print all but the last NUM bytes of each file
$ echo "stuff" | head -c -1Last updated
-c, --bytes=[-]NUM print the first NUM bytes of each file; with the leading '-', print all but the last NUM bytes of each file
$ echo "stuff" | head -c -1Last updated