https://github.com/benwebber/scramble
Scramble words in text files
https://github.com/benwebber/scramble
Last synced: 6 months ago
JSON representation
Scramble words in text files
- Host: GitHub
- URL: https://github.com/benwebber/scramble
- Owner: benwebber
- License: other
- Archived: true
- Created: 2014-10-22T03:30:17.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-10-26T22:00:29.000Z (over 11 years ago)
- Last Synced: 2023-07-12T01:54:17.073Z (almost 3 years ago)
- Language: Go
- Homepage:
- Size: 137 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
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.