|
Onecho and Offecho |
Top Previous Next |
|
Sends multiple subsequent lines to an external file called externalfile. The action is stopped by an $offecho. This command are used employing the syntax
$Onecho > externalfile line 1 to send line 2 to send $Offecho or $Onecho >> externalfile line 1 to send line 2 to send $Offecho
There is also a variant $onechos that permits parameter substitution as $onecho also does and $onechov that forbids parameter substitution.
$Onechos > externalfile line 1 to send with param sub %it% line 2 to send $Offecho Notes
|