Execute a system command: Difference between revisions
Content deleted Content added
→[[MAXScript]]: sp |
|||
Line 332: | Line 332: | ||
MYCMDOUTPUT=`ls` |
MYCMDOUTPUT=`ls` |
||
echo $MYCMDOUTPUT |
echo $MYCMDOUTPUT |
||
'''Note:''' in these last cases, C-Shell and Korn Shell, these are "back ticks" rather than quotes or apostrophes. These "backticks" can also be used in Bourne compatible shells, though the '''$(...)''' form is preferred when discussing such things in e-mail, on USENET, or in other online forums (such as this wiki). Also the '''$(...)''' form of command substitution is nestable. |