logo       

RE: passing a carriage return in a korn shell script ?: msg#00390

sysutils.tivoli.tme10

Subject: RE: passing a carriage return in a korn shell script ?

absolutly !!! i found the same solution yesterday night !!!
thanks

Dominic

-----Message d'origine-----
De : owner-tme10-XtjxT7Vmt5b1ENwx4SLHqw@xxxxxxxxxxxxxxxx
[mailto:owner-tme10-XtjxT7Vmt5b1ENwx4SLHqw@xxxxxxxxxxxxxxxx]De la part de Loren
Cain
Envoyé : Tuesday, November 30, 2004 8:59
À : tme10-XtjxT7Vmt5b1ENwx4SLHqw@xxxxxxxxxxxxxxxx
Objet : RE: [tme10] passing a carriage return in a korn shell script ?


This works for me:

#!/bin/ksh
function toto { echo Hello; echo World; }
echo "Calling toto:"
toto
exit 0


Is that what you had in mind?

Loren Cain
Digicon

-----Original Message-----
From: owner-tme10-XtjxT7Vmt5b1ENwx4SLHqw@xxxxxxxxxxxxxxxx
[mailto:owner-tme10-XtjxT7Vmt5b1ENwx4SLHqw@xxxxxxxxxxxxxxxx]
On Behalf Of D'Apice, Domenico
Sent: Monday, November 29, 2004 4:47 PM
To: Tme10 (E-mail) (E-mail)
Subject: [tme10] passing a carriage return in a korn shell script ?

Hello all,

i would like to pass a carriage return in a korn shell script, how can i
do
that ?

ex :

instead of doing this

function toto {
echo blabla
}

i would like to do this (in one simple line)

function toto { echo blabla }


Thanks
Dominic D'Apice
* D.D'Apice-XB5swX22BCD3fQ9qLvQP4Q@xxxxxxxxxxxxxxxx





<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise