20. : Command

Purpose: command : issued with multiple commands separated by semi-colon runs each command one by one.

Status:Implemented

Syntax:

   : command_1;command_2;.....;command_n

Comments:

Any number of commands may be passes to the : command. Shell commands passed with ! command are not executed.Like, :!ls will fail to run.

Example:

    gnucap>: ver
    Gnucap Version: 2009.12.07 RCS 26.136
    gnucap>: ver;echo "Hello World!"
    Gnucap Version: 2009.12.07 RCS 26.136
    Hello World!
    gnucap>: strcmp "Hello" Hello;def f;shell
    flag=0
    >x^2+y^2
    itsrishre@rishabh-laptop:~$exit
    gnucap>
gnucap/user/command.txt · Last modified: 2015/12/11 15:39 (external edit)
 
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Run by Debian Driven by DokuWiki