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

2011-12-30 Thread Dan Nelson
In the last episode (Dec 31), Erik Trulsson said: > On Fri, Dec 30, 2011 at 06:47:45PM -0800, Edward Martinez wrote: > > On 12/30/11 17:06, ??? wrote: > > > I used ' singe quotes, so double quotes is: > > > > > > $ FRUIT_BASKET="apples oranges pears" > > > $ echo -e "My fruit basket co

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

2011-12-30 Thread Erik Trulsson
On Fri, Dec 30, 2011 at 06:47:45PM -0800, Edward Martinez wrote: > On 12/30/11 17:06, ??? wrote: > > I used ' singe quotes, so double quotes is: > > > > $ FRUIT_BASKET="apples oranges pears" > > $ echo -e "My fruit basket contains: \n $FRUIT_BASKET" > > My fruit basket contains: > > ap

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

2011-12-30 Thread Edward Martinez
On 12/30/11 17:06, Любомир Григоров wrote: I used ' singe quotes, so double quotes is: $ FRUIT_BASKET="apples oranges pears" $ echo -e "My fruit basket contains: \n $FRUIT_BASKET" My fruit basket contains: apples oranges pears Thanks for the help, it worked. I find it interesting that Free

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

2011-12-30 Thread Любомир Григоров
I used ' singe quotes, so double quotes is: $ FRUIT_BASKET="apples oranges pears" $ echo -e "My fruit basket contains: \n $FRUIT_BASKET" My fruit basket contains: apples oranges pears На 30 декември 2011, 17:04, Любомир Григоров написа: > try with the -e flag: > > $ FRUIT_BASKET="apples orange

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

2011-12-30 Thread Любомир Григоров
try with the -e flag: $ FRUIT_BASKET="apples oranges pears" $ echo -e 'My fruit basket contains: \n $FRUIT_BASKET' My fruit basket contains: $FRUIT_BASKET >Why the scape sequence; newline (\n) does not work in FreeBSD's bash, However, it works both in Linux and Solaris bash? -- Lyubomi

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

2011-12-30 Thread Edward Martinez
Hello, Why the scape sequence; newline (\n) does not work in FreeBSD's bash, However, it works both in Linux and Solaris bash? For instance, when i type something basic using the newline scape sequence in FreeBSD bash i get this: $ FRUIT_BASKET="apple oranges pears" $ echo "M