Like a charm, thanks Kurt.

2017-01-11 16:08 GMT-02:00 Kurt H Maier <khm@sciops.net>:
On Wed, Jan 11, 2017 at 04:05:02PM -0200, Micael Ramos wrote:
> There is another representation for newline other than '\n' for standard
> input?
>
> When running commands, '\n' is never recognized. Example:
>
> tr '\n' 'newline' < text.txt

Look at the manpage for tr(1).  Only octal is recognized.  Try

tr '\012' 'o'

for instance.

khm