Created
December 5, 2016 01:37
-
-
Save akanehara/63ab27947eaac3606da493e43a89dbf4 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
BEGIN { | |
OFS = "\t"; | |
E = L-1 ;A = 0; I = 1; | |
do { | |
B = A + W - 1; | |
if (E < B) B = E; | |
print A, B; | |
A = B + 1; | |
} while (A < L); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment