Hi Agustin,

You have a point about copy-pasting.

I think most of these command lines are just written as they appear in the CookBook, with line feeds and tabulations.

As suggested we could use a layout more like this (using "\", and smaller indentation) :

otbcli_BandMath \
  -il input_image_1 input_image_2
\
  -exp "abs(im1b1 - im2b1)" \
  -out output_image \
  -outxml saved_applications_parameters.xml

Or we could give the full line without line feeds nor tabulation and let the document generator (Sphinx & latex) break it into several lines

Any opinions here ?

Guillaume

On 01/19/2017 09:57 AM, Agustin Lobo wrote:
A minor but practical question:
Except for the example on mpirun
(https://www.orfeo-toolbox.org/packages/OTBCookBook.pdf p.19),
long otbcli_ commands are reproduced in the CookBook as multiple lines
without the "\". Is there a trick(i.e. a particular shell application
or an editor)  to actually write these commands as (nicely) written in
the CookBook? If I do it without the "\", I just get the first line
processed and the rest are
interpreted as different, unknown commands and as a part of the same command.
In particular for beginners, copy and paste to terminal of the
examples would be convenient.
Thanks


--
Guillaume PASERO
Responsable technique
Business Unit ESPACE & GeoInformation - Département Payload Data & Applications

CS Systèmes d'Information
Parc de la Grande Plaine - 5, Rue Brindejonc des Moulinais - BP 15872
31506 Toulouse Cedex 05 - FRANCE
+33 561 17 64 21 - [email protected]

--
--
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html
 
You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
---
You received this message because you are subscribed to the Google Groups "otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to