sh script writing help
Dan Nelson
dnelson at allantgroup.com
Sun May 30 05:39:39 UTC 2010
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 at allantgroup.com
More information about the freebsd-questions
mailing list