/lorem

Offline Lorem Ipsum generator

Primary LanguageGoMIT LicenseMIT

lorem: Lorem Ipsum generator

License Release GoDoc Go Report Go Lang

Offline Lorem Ipsum generator. Inspired by lipsum.com.

Usage

$ lorem -h
  -ipsum
        Start with "Lorem ipsum dolor sit amet..."
  -number int
        How many <type> to generate (default 5)
  -stats
        Print statistics
  -type string
        What to generate: p (paragraphs); w (words); b (bytes) (default "p")
  -v    Show version and exit

Example

$ lorem -ipsum -stats > text.txt
STATS:
Words      242
Bytes      2808
Paragraphs 5

$ cat text.txt
# 5 paragraphs of generated Lorem Ipsum

$ lorem -type w -number 3
Nequefusce per elitvivamus.

Installation

Download binary from releases to /usr/local/bin/lorem.

And start it as:

lorem