logo       

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

sysutils.tivoli.tme10

Subject: RE: 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@xxxxxxxxxxxxxxxx [mailto:owner-tme10@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@xxxxxxxxx





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

News | FAQ | advertise