Created
October 10, 2015 05:32
-
-
Save Hiromi-Kai/8b369619556c61245391 to your computer and use it in GitHub Desktop.
200までの素数のナンバーでファイル名を作成する(ゼロ埋め付き)
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
#!/bin/sh | |
seq 2 200 | factor | awk 'NF==2'|touch $(printf "MyFolder/MyFile%03d\n" `cut -d: -f1`) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment