Re: Newline character doesn't work

2002-12-12 Thread Matthew Seaman
On Thu, Dec 12, 2002 at 09:09:04AM +, Matthew Seaman wrote: > Of the shells bundled with FreeBSD, /bin/sh uses the standard command > version and /bin/tcsh uses a shell built-in that by default has the > same behaviour as /bin/echo: Correction: /bin/sh has a built-in echo command that underst

Re: Newline character doesn't work

2002-12-12 Thread Matthew Seaman
On Thu, Dec 12, 2002 at 07:14:28PM +1100, BSD Freak wrote: > Just tried the following and it doesn't seem to work.. any explanations? > > %echo first line \\n second line > > Output is: > first line \n second line echo is both a shell built-in and a standard command. The standard command does

Re: Newline character doesn't work

2002-12-12 Thread Jonathan Chen
On Thu, Dec 12, 2002 at 07:14:28PM +1100, BSD Freak wrote: > Hi guys, > > Just tried the following and it doesn't seem to work.. any explanations? > > %echo first line \\n second line > > Output is: > first line \n second line According to the man-page, echo(1) is working as advertised. What y

Newline character doesn't work

2002-12-12 Thread BSD Freak
Hi guys, Just tried the following and it doesn't seem to work.. any explanations? %echo first line \\n second line Output is: first line \n second line Can anyone help? Thanks in advance... - Faxes delivered directly to an