A command-line utility that rotates each character in an ASCII text file by a certain order. The rotation mechanism is similar to ROT13. Here, each ASCII character is rotated by its ASCII value.
Download from GitHub.
Meet the creator, Param Siddharth.
protate FILE_IN N [-o] [FILE_OUT] [-p] [--h, --help, /?]
Parameters:
FILE_IN
: The input file.
N
: The number of ASCII character rotations to do in each character. A negative value would indicate negative rotation.
-o FILE_OUT
: Would output the result generated from FILE_IN to FILE_OUT. If omitted, the output would be written to ./a.out.
-p
: Previews the output instead of saving it to a file.
--h, --help, /?
: Show usage help.
To build it using gcc or clang, compile it via the command-line using make.> make protate
The sample file story.txt contains the following text:
> protate 30 story.txt -o hiph0p./hiph0p.> protate hiph0p -30 -p./hiph0p by rotating it by order -30 and displays it instead of storing it due to the -p flag. If everything goes well, the output will be same as the original story.txt file.> protate hiph0p -30./hiph0p by rotating it by order -30, and, since no output file is specified, writes the output to ./a.out. If everything goes well, the output will be same as the original story.txt file.
Hey there! It's me, Param. ![]()
I am a simple person who wants to become wise and loves the nature. I love learning new things and making stuff, like songs, computer applications, art, et cetera.
I created a blog recently.
Here is my Facebook page.
I post often on Twitter.
I am quite active on Instagram.
Sometimes, I post videos on YouTube.
I am an artist, so you will find me in places like Spotify and DeviantArt too.
That's all for now. :) Stay happy and healthy!