lorem
Generate placeholder text (lorem ipsum)
TLDR
Print the specified number of words
Print 10 lines of Goethe's Faust
Print 5 sentences of Poe's Raven
Print 40 random characters from Boccaccio's Decameron
SYNOPSIS
lorem [OPTIONS] [COUNT]
lorem [COUNT] [OPTIONS]
The COUNT argument specifies the number of units to generate, defaulting to 5 words if no unit type is specified.
PARAMETERS
COUNT
The number of units (words, sentences, or paragraphs) to generate. If no unit option is specified, it defaults to words. Defaults to 5 if not provided.
-w, --words
Generate COUNT words of lorem ipsum text. This is the default behavior if no unit option is specified.
-s, --sentences
Generate COUNT sentences of lorem ipsum text.
-p, --paragraphs
Generate COUNT paragraphs of lorem ipsum text.
-h, --html
Wrap each generated paragraph in HTML <p> tags. If generating words or sentences, the entire output will be wrapped in a single <p> tag.
-b, --bold-first
Make the first word of the output bold.
DESCRIPTION
The lorem command is a utility designed to produce pseudo-Latin placeholder text, commonly known as "Lorem Ipsum". This text is widely used in graphic design, web development, and publishing to fill content areas before the final text is available, allowing designers to focus on layout and typography without distraction from meaningful content. It offers flexibility to generate a specified quantity of words, sentences, or paragraphs, making it suitable for various prototyping and testing needs. This command aims to provide a quick and easy way to populate mock-ups and templates with realistic-looking content blocks.
CAVEATS
This command is purely hypothetical and is not a standard utility found in typical Linux distributions. It is presented as an example of what a command generating "Lorem Ipsum" placeholder text might entail, reflecting the common needs for such a tool in development and design workflows.
USAGE EXAMPLES
Generate 10 words:
lorem 10
Generate 3 paragraphs:
lorem -p 3
Generate 2 sentences with HTML paragraph tags:
lorem -s 2 -h
Generate 15 words with the first word bold:
lorem -w 15 -b
HISTORY
The practice of using "Lorem Ipsum" as placeholder text dates back to the 16th century, originating from a passage in Cicero's De finibus bonorum et malorum. While a dedicated lorem command is not natively present in standard Linux systems, the widespread utility of generating such text for design and development purposes has led to the creation of numerous scripts and external tools across various programming languages and platforms.