Geoscience Reference
In-Depth Information
Often, the output of the command is also printed along with the command input.
To separate the command input and output, we introduced a blank line. On your
terminal window, the output will be printed directly after the input line.
example_code -o options
This is the output of the example_code
This is to distinguish frommultiple command line inputs, which are not separated
by a blank line:
example_code1 -o some_option
example_code2 -o another_option
In some cases the code snippets extend across one or multiple lines and this will
be denoted with a right-handed carriage return arrow, as depicted in the following
code snippet:
example_code -o many_options_that -extend
across_two_lines_of_the_book
In general, the text preceding the textbox relates specifically to the code snippet.
In some cases, there has been a need to include a comment within the code snippet
#This is a comment relating to the command
example_code -o many_options_that -extend
across_two_lines_of_the_book
From the user's perspective, it suffices to type all of the content on one line and
then simply press the Return key when you have entered the full command to run it.
The idea is that you learn from these examples and adapt them to your own
needs. This will allow you to process multiple data files in an automated way. Trying
to achieve the same result with proprietary software packages that are GUI based
often involves multiple manual operations that need to be repeated for each file
individually.
 
Search WWH ::




Custom Search