You are not logged in.

#1 Today 16:37:01

GerBra
Forum Fellow
From: Bingen/Germany
Registered: 2007-05-10
Posts: 287

A command line lorem ipsum generator

Based on the idea from @seth at this post i made lorem_ipsum.
It's totally a bit overkill to have it as a compiled program <g>, but it was a little exercise for me with a new language (crystal).

Additionally it has some sugar things compared to seth's easy-to-maintain, easy-to-run shell script, so i hope you find it somewhat usefully.

./lorem_ipsum -h
Welcome to Lorem Ipsum generator!
Optional generates Minions(Bello! Bananaaa!) speach

USAGE: lorem_ipsum [switches]

    -c COUNT, --counts COUNT         Generate COUNT paragraphs (Default: 1)
    -m, --minions                    Generate minoese speech
Sugar options
    -s, --shuffle                    Shuffle the paragraphs
    -i "TEXT", --insert "TEXT"       Insert TEXT at random punctuation
                                     marks into each paragraph
    -n, --no-separator               No extra newline between paragraphs
Misc options
    -v, --version                    Show version
    -h, --help                       Show help

Project-Repository : https://codeberg.org/GerBra/lorem_ipsum
PKGBUILD               : https://codeberg.org/GerBra/lorem_ipsum … x/PKGBUILD

Last edited by GerBra (Today 16:41:45)


My avatar: "It's not just a toilet... a FERGUSON. The King of bowls. Sit down and give me your best shot." Al Bundy

Offline

Board footer

Powered by FluxBB