7.13 Shell commands
Semi-colons cannot be used to place further Pyxplot commands after a shell command on the same line.
a=`ls -l *.ppl | wc -l` print "The current directory contains %d Pyxplot scripts."%(a)
It should be noted that back-quotes can only be used outside quotes. For example,
will not work. One way to do this would be
set xlabel `echo "'" ; ls ; echo "'"`
a better way would be to use the os.system or os.popen functions:
Note that it is not possible to change the current working directory by sending the cd command to a shell, as this command would only change the working directory of the shell in which the single command is executed: