Difference between revisions of "$&"
From Scriptwiki
m (found the $+ page :o) |
|||
Line 8: | Line 8: | ||
} | } | ||
Echoes the entire sentence which has been split over 3 lines. | Echoes the entire sentence which has been split over 3 lines. | ||
+ | ==See Also== | ||
+ | * [[DollarPlus|$+]] | ||
[[Category:Identifiers]] | [[Category:Identifiers]] |
Revision as of 01:52, 7 April 2008
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.