$&: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(No difference)
|
Revision as of 00:47, 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.