*BSD News Article 84449


Return to BSD News archive

Newsgroups: comp.unix.bsd.freebsd.misc
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!newspump.sol.net!www.nntp.primenet.com!nntp.primenet.com!ix.netcom.com!netcom.com!stanb
From: stanb@netcom.com (Stan Brown)
Subject: How to embed a newline in pdksh string ?
Message-ID: <stanbE21wK5.3zH@netcom.com>
Organization: NETCOM On-line Communication Services (408 261-4700 guest)
X-Newsreader: NN version 6.5.0 #3 (NOV)
Date: Sat, 7 Dec 1996 16:02:29 GMT
Lines: 17
Sender: stanb@netcom4.netcom.com

	I am trying to port some user environement scripts to FreeBSD. I have
most of this doen, but I can't for the life of me figure out how to embed a
newloin in a string in pdksh.

	Heres what Im trying to do: Normally I do this.

	echo "\nWarining You Are Superuser\n"

	How do I do this in pdksh ?

	Thnaks.

-- 
Stan Brown     stanb@netcom.com                                    404-996-6955
Factory Automation Systems
Atlanta Ga.
-- 
Look, look, see Windows 95.  Buy, lemmings, buy!   
Pay no attention to that cliff ahead...            Henry Spencer
(c) 1996 Stan Brown.  Redistribution via the Microsoft Network is prohibited.