[prev in list] [next in list] [prev in thread] [next in thread] 

List:       suse-programming-e
Subject:    Re: [suse-programming-e] line feed
From:       Jerry Feldman <gaf () blu ! org>
Date:       2005-06-02 12:03:33
Message-ID: 200506020803.34052.gaf () blu ! org
[Download RAW message or body]

On Wednesday 01 June 2005 5:31 pm, Patrick B. O'Brien wrote:
> No,
>
> Here is the line in my script and the report, hmm?
>
> echo "\n############# New /etc/aliases file from Listserv
> ###############"                        >> $outfile
>
>
> \n############# New /etc/aliases file from Listserv ###############

Try:
echo -e "\n# New /etc/aliases file from Listserv #########"

I've shortened this to prevdent line wrap. 
Read the man page from echo(1)
The -e option enables the escape characters.

-- 
Jerry Feldman <gaf@blu.org>
Boston Linux and Unix user group
http://www.blu.org PGP key id:C5061EA9
PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9

-- 
To unsubscribe, email: suse-programming-e-unsubscribe@suse.com
For additional commands, email: suse-programming-e-help@suse.com
Archives can be found at: http://lists.suse.com/archive/suse-programming-e

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic