Last active
July 20, 2019 04:52
-
-
Save u1and0/3005b2029f00b2d7a4f8d40345007b3d to your computer and use it in GitHub Desktop.
ランダムな8-17時を出力するvim + shell script
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
| ```ランダムな定時間を出力するvim script + shell script | |
| :r !echo $(expr 8 + $((RANDOM\%+9))):$((RANDOM\%+60)):$((RANDOM\%+60)) | |
| " jレジスタに結果を登録する | |
| :let @j = system ("echo $(expr 8 + $((RANDOM\%+9))):$((RANDOM\%+60)):$((RANDOM\%+60))") | |
| ``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment