Date: Sun, 30 May 2010 00:39:35 -0500 From: Dan Nelson <dnelson@allantgroup.com> To: Aiza <aiza21@comclark.com> Cc: "questions@freebsd.org" <questions@freebsd.org> Subject: Re: sh script writing help Message-ID: <20100530053935.GG8866@dan.emsphone.com> In-Reply-To: <4C01F419.10100@comclark.com> References: <4C01F419.10100@comclark.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (May 30), Aiza said: > In a .sh type script I have && exerr " very long message gt 250 char" > all on the same line. This is a real pain to edit. > > Is there some code a can use to continue this on the next line so I can > see it on the screen and still have the command function? I tried \ with > no luck. \ should work just fine: $ echo "long line \ split onto two" long line split onto two $ -- Dan Nelson dnelson@allantgroup.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100530053935.GG8866>