Created
June 20, 2018 05:27
-
-
Save BraedonWooding/d7b8f864c6b7942ed6c37c04fb740f0c to your computer and use it in GitHub Desktop.
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
seq 60 | sed 's/^/5^/' | bc | awk 'BEGIN{ print "\t\t{ .digits = 0, .cutoff = \"\" }," } | |
{ | |
log2 = log(2)/log(10) | |
printf("\t\tLeftFast { .digits = %d, .cutoff = \"%s\" },\n", int(log2*NR + 1), $0) | |
}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment