#!/bin/bash awk '{ gsub(/$/, "\\n") } 1' /etc/motd
Standard input is empty
\n The programs included with the Debian GNU/Linux system are free software;\n the exact distribution terms for each program are described in the\n individual files in /usr/share/doc/*/copyright.\n \n Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent\n permitted by applicable law.\n