File: command_history.rst

package info (click to toggle)
python-astropy 1.3-8~bpo8%2B2
  • links: PTS, VCS
  • area: main
  • in suites: jessie-backports
  • size: 44,292 kB
  • sloc: ansic: 160,360; python: 137,322; sh: 11,493; lex: 7,638; yacc: 4,956; xml: 1,796; makefile: 474; cpp: 364
file content (30 lines) | stat: -rw-r--r-- 600 bytes parent folder | download | duplicates (3)
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