Created
April 23, 2020 17:42
-
-
Save adeshmukh-quizlet/eed545a319d6d8f61052846ce3cdbed7 to your computer and use it in GitHub Desktop.
Kotlin script to generate bitrev values
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env kscript | |
println(args.map { java.lang.Long.reverse(it.toLong()) }.joinToString(" ")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Prerequisite
Install kscript
Then save the above script in your path (e.g.
~/bin/bitrev
) and make it executable.Sample usage
See also: md5b64