script issue
Jorge Fábregas
fabregasj at prtc.net
Fri Jan 7 17:05:37 UTC 2005
On Friday 07 January 2005 1:00 pm, Chadley Wilson wrote:
> if a line is too long in a sh script
> I need to break it in to two lines,
> there is a method that tells the shell that the two line are to read as
> one,
>
> how do you do that?
Use the backslash, like this:
-----------------------cut here -----------------------
#! /bin/sh
echo "This is \
a line"
---------------------cut here ---------------------
Jorge
More information about the users
mailing list