why newline scape sequence does not work in Freebsd's bash

Любомир Григоров nm.knife at gmail.com
Sat Dec 31 01:04:49 UTC 2011

try with the -e flag:

$ FRUIT_BASKET="apples oranges pears"
$ echo -e 'My fruit basket contains: \n $FRUIT_BASKET'
My fruit basket contains:

>Why  the scape sequence; newline (\n) does not work  in  FreeBSD's  bash,
 However, it works  both  in Linux and Solaris bash?

Lyubomir Grigorov (bgalakazam)

More information about the freebsd-questions mailing list