1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
:orphan:
.. _command_history:
Condensed example of contributing code to Astropy
=================================================
There are two versions:
* :ref:`with output` (easier to read along with)
* :ref:`no output` (easier to cut and paste from)
.. _with output:
Example, with output
--------------------
In this version the commands are on the lines that begin ``$`` others are
comments or output.
.. literalinclude:: command_history_with_output.sh
:language: bash
.. _no output:
Example, no output
------------------
.. literalinclude:: command_history.sh
:language: bash
|