Subject: Re: [ast-users] What's the right syntax for ${ cmd;}?
--------

> What is the right syntax for ${cmd;}?
> Is it ${ cmd;} or is it ${ cmd;BLANK}? where BLANK are one or more
> tab/space/newline characters? The parser is a lot permissive and often
> allows the omission of the the ; at the end.
> 
> Olga
> 

You can use ${BLANKcmdBLANK}  

You can also use a semicolon to indicate the end of the command.

This the following are legal:

        ${ date }
        ${ date;}
        ${ date ;}
        ${
                date
        }
        ${
                date ;
        }

However,
        ${ date
        ;}
is not legal since the ; must appear on the line of the command.


David Korn
[email protected]
_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users

Reply via email to