Command Line Lipsum Text
Just found a package (in Ubuntu, at least) called libtext-lorem-perl
that can be used from the command line to produce lipsum text. No more going to lipsum.com!
Examples:
# 5 words
lorem -w 5
# 7 sentences
lorem -s 7
# 2 (you guessed it) paragraphs
lorem -p 2
Install with apt
:
sudo apt-get install libtext-lorem-perl
Written by Jonah Dahlquist
Related protips
1 Response
Combine it with xclip
to automatically save the output to your clipboard.lorem -w 5 | xclip
puts it on your 'X'clipboard and you can paste it by clicking with your middle mouse button. Use xclip -selection clipboard
to have it under your Ctrl-V
buttons.
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Shell
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#