Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Offline lorem ipsum generator

What would be a good offline alternative of the online Lipsum generator? It's frustrating when I'm not online and need some placeholder text for testing purpose. A CLI utility would be ideal, so that I can tailor the output to fit my needs.

like image 910
Imran Avatar asked Sep 18 '08 17:09

Imran


People also ask

How do I get the lorem ipsum text?

Type =lorem() into your document where you want the dummy text to be placed. 2. Hit Enter to insert the text. This will insert five paragraphs of the classic Latin text with varying sentence lengths.

Is lorem ipsum free?

This free lorem ipsum generator lets you choose how many sentences, paragraphs or list items you want. You can also select to include HTML markup and specify how big the text should be.


2 Answers

In Office 2007 apps, you can type in

=lorem(n)

with n equaling the number of paragraphs of lorem ipsum you would like generated.

like image 86
shadit Avatar answered Sep 24 '22 04:09

shadit


Django's lipsum addon seemed pretty straightforward. As I didn't want to install python just to run this script, I ported it to php.

Here's my PHP version:

http://pastebin.com/eA3nsJ83

like image 26
Imran Avatar answered Sep 21 '22 04:09

Imran