GReAt HAsKeLL tOOl to traNSFoRm TExt
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Nicolas Lenz 54ce3e1a9e Merge branch 'master' of git.eisfunke.com:software/Mock 1 kuukausi sitten
app Cleaning up, ignore spaces for alternate/random 1 kuukausi sitten
src Merge branch 'master' of git.eisfunke.com:software/Mock 1 kuukausi sitten
.gitignore Bump to newest Stack LTS and remove cabal file from versioning 2 kuukautta sitten
LICENSE Initial commit 9 kuukautta sitten
README.md Update 'README.md' 1 kuukausi sitten
Setup.hs Add setup script (?) 8 kuukautta sitten
mock.png AdDEd Meme for FuN 9 kuukautta sitten
package.yaml Bump version to 3.6.0 1 kuukausi sitten
stack.yaml Clean up package.yaml, bump to neweset snapshot 1 kuukausi sitten
wtfpl.png Add local WTFPL badge 9 kuukautta sitten

README.md

Mock

wAR miR jEtzT Zu anSTRENgEnd dA JedeN ZWEiten BUChSTaBeN GRoSS zU scHREiBen

There is a Telegram bot for Mock available as @truemockbot, you can find its source code in the repository.

Installation

Just clone this repository or download a release and call

$ stack install

inside the folder. This will install Mock into ~/.local/bin, which should be added to $PATH.

If you’re using Arch Linux: there is also an AUR package available.

Usage

mock [STYLE] [TEXT]

You can get help a list of possible mock styles with mock.

If no text or “-” is given, input is read from stdin.

Examples

$ mock random This is a great program.
ThIs Is A greaT PROgrAM.

$ mock space This is a great program.
T h i s   i s   a   g r e a t   p r o g r a m.

Mock calls can of course be concatenated with pipes:

$ mock space This is a great program. | mock random
T h I S   i S   A   G R e A t   P R o g r a m .

WTFPL-Badge