in reply to semicolon for perl command in bash

The semi-colon in bash is the statement terminator. If you do not use a semi-colon then your statement is terminated by a newline. Both the semi-colon and the newline can be escaped. This is all to do with bash and nothing to do with perl.

As examples try these:

Happy bashing!

Replies are listed 'Best First'.
Re^2: semicolon for perl command in bash
by mianfeidewucan (Initiate) on Oct 17, 2012 at 22:18 UTC
    Hi,

    I didn't know the semicolon and newline are equivalent. Thank you very much!

    Arrow