Mailinglist Archive: opensuse-programming (53 mails)

< Previous Next >
Re: [suse-programming-e] line feed
  • From: Anders Johansson <andjoh@xxxxxxxxxx>
  • Date: Wed, 1 Jun 2005 23:26:00 +0200
  • Message-id: <200506012326.00297.andjoh@xxxxxxxxxx>
On Wednesday 01 June 2005 23:08, Patrick B. O'Brien wrote:
> I usually would use a \n to tell my shell script to line feed but that
> does not work using Red Hat/Suse /bin/bash.

What exactly is it you would normally do that doesn't work?

> How can I tell my /bin/bash shell script to \n line feed without doing
> an echo " " > $outfile?

adding a \n to the last thing you output doesn't work?

echo -e 'This line is terminated by a line feed\n' > $outfile

for example

< Previous Next >
List Navigation