$&

From Scriptwiki
Revision as of 01:47, 7 April 2008 by Daveoh (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This identifier allows you to break up a single line into multiple lines which are combined when the script is performed, so you can edit long commands more easily.

$&

Example

longline {
echo This is an example of a long $&
line that has been split into multiple lines $&
to make it easier to edit
}

Echoes the entire sentence which has been split over 3 lines.