Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ratfactor/tjr
A (g)roff pre-processor for text output
https://github.com/ratfactor/tjr
Last synced: 3 months ago
JSON representation
A (g)roff pre-processor for text output
- Host: GitHub
- URL: https://github.com/ratfactor/tjr
- Owner: ratfactor
- License: mit
- Created: 2019-10-01T03:29:28.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-10-01T11:20:26.000Z (over 5 years ago)
- Last Synced: 2023-03-22T17:50:35.309Z (almost 2 years ago)
- Language: Perl
- Size: 5.86 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme-source.tjr
- License: LICENSE
Awesome Lists containing this project
README
# Text Junior Readme
This is tjr ("Text Junior"), a program that pre-processes a crazy-simple line-based input format as *roff output (tested with groff).
This readme file is also a test input for tjr. It was created with this command:
```
./tjr readme-source.tjr | groff -Tascii > readme.txt
```## Why use Groff?
Groff already knows how to do stuff like text filling and justification.
So why would we want to duplicate that work?
We wouldn't.### This is a sub-heading
The first stable version, 1.04, was announced in November 1991. groff was developed as free software to provide an easily obtained replacement for the standard AT&T troff/nroff package, which at the time was proprietary, and was not always available even on branded UNIX systems.
### Preformatted text
Also known code blocks, these chunks are so pleasant to look at:
```
_ _
| | (_)
| |_ _ _ __
| __| | '__|
| |_| | |
\__| |_|
_/ |
|__/```
Gosh, Figlet makes everything feel wonderful.
### How about a nice quote?
"""
You know how the biggest paragraphs always get a lot of attention and the little verbs and nouns go into the cave to explode?
Well, that's how it goes.
Don't worry about it.-Text Junior
"""That's about it.
Really.
Enjoy?