GitXplorerGitXplorer
z

dedent

public
2 stars
0 forks
4 issues

Commits

List of commits on branch master.
Unverified
6cf3226471fcb894c650083a3b9bafd01b70c7fd

Added python 3 note to readme

zza3k committed 12 years ago
Unverified
649d092195f9f2153e34c387317b7702a5745b47

Example in readme

zza3k committed 12 years ago
Unverified
254f63d4ba70e65c7a808ffd9fd5ebf622978b4a

Initial commit

zza3k committed 12 years ago
Unverified
5a35940e5e732956bd0e8995eca31753861c9281

Initial commit

zza3k committed 12 years ago

README

The README file for this repository.

'dedent' is a small script to convert hierarchical, indented files into something which can easily be sent into standard unix tools. The program 'indent' performs the reverse transformation 'dedent' is written in Python 3

Caveats: - The output includes trailing whitespace. Make sure not to trim it. - Escape sequences are not honored, and 'dedent' pays no particular attention to common string sequences.

Sample input and output can be seen by running dedent on any of the files in the included example folder.

Animals Birds Hummingbird Mammals Dog Trees Oak Elm

gives the output (Where underscores represent spaces for readability):

=Animals


=Birds


=Hummingbird <____ =Mammals


=Dog <____ <____ =Trees


=Oak =Elm <____