scramble

command module
v0.0.0-...-e049d95 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 26, 2014 License: Apache-2.0 Imports: 8 Imported by: 0

README

scramble

scramble is a small utility that scrambles words in place.

scramble preserves line, word, and character counts, as well as punctuation and the positions of uppercase letters.

Usage

scramble reads from standard input:

$ cat lipsum.txt
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
$ scramble < lipsum.txt
Roelm miups dlroo sti tmae, cctrtensoeu niagdcpisi eitl.

or from a list of files:

$ scramble foo bar baz

Specify -r/--random to randomize the character replacements. This will render the document completely illegible.

$ scramble -r lipsum.txt
Iirka krfqq zeubz kgq khqz, dtovqdtdhue chyylzokja ulci.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL