[Gmsh] Question about the command line

Alexis PACHOLIK alexis.pacholik at gmail.com
Tue Jun 3 19:17:01 CEST 2014


Hello all,

I'd like to know if I can get back an integer given in command line. For
example, if I put "gmsh myfile.msh myscript.sh 54321" in the command line
where myfile.msh is my mesh and myscript.sh is a script for postprocessing,
how can I use the integer 54321 in the file myscript.sh (if possible)?  I'm
not aware of something like argv[] or else...

Thank you and regards,

Alexis PACHOLIK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20140603/bd3c3d4f/attachment.html>