Talk:Multiple commands

From Linux Shell Scripting Tutorial - A Beginner's handbook
Revision as of 06:41, 6 November 2009 by 91.9.120.148 (talk) (Created page with 'The second example <tt>{ comman1; command2 }</tt> won't work, since the syntax parser needs a delimiter before the closing brace. You need to use <tt>{ command1; command2; }</tt>…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The second example { comman1; command2 } won't work, since the syntax parser needs a delimiter before the closing brace. You need to use { command1; command2; } or you will get PS2 prompt for continuation.


TheBonsai