Skip to content

Using the Corporate Bull**** Generator as a lorem ipsum generator

License

Notifications You must be signed in to change notification settings

uriel1998/bullsum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

bullsum

Using the Corporate Bull**** Generator as a lorem ipsum generator

This is a bash script to use the Corporate BullShit Generator as a lorem ipsum generator for the commandline.

Requires

  • curl
  • grep
  • sed
  • awk

Usage

If you just want one line (NOT one sentence) only all the time, use this one-liner instead:

curl -s https://cbsg.sourceforge.io/cgi-bin/live | grep -Eo '^<li>.*</li>' | sed s,\</\\?li\>,,g | shuf -n 1 

bullshit -l [ -p # | -s #]
-l Begin with Lorem ipsum dolor sit amet, consectetur adipiscing elit.
-s Specify number of sentences.
-p Specify number of paragraphs.
Paragraphs are always five sentences each.
-h shows this help message

Advanced Usage

To get the output into the clipboard, use

| tee >(xclip -selection primary) >(xclip -selection secondary) >(xclip -selection clipboard)

or

| tee >(xsel -i --primary) >(xsel -i --secondary) >(xsel -i --clipboard)

See the attached file bsclip for a simple example.

About

Using the Corporate Bull**** Generator as a lorem ipsum generator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages