Skip to content
/ lorem Public

Offline Lorem Ipsum generator

License

Notifications You must be signed in to change notification settings

skibish/lorem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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