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, Любомир Григоров <nm.kn...@gmail.com> написа:

> 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?
>
>
> --
> Lyubomir Grigorov (bgalakazam)
>
>


-- 
Lyubomir Grigorov (bgalakazam)
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to