Skip to content

Instantly share code, notes, and snippets.

@sassy
Created October 4, 2013 02:54
Show Gist options
  • Save sassy/6820291 to your computer and use it in GitHub Desktop.
Save sassy/6820291 to your computer and use it in GitHub Desktop.
シェルのwhile文
#!/bin/sh
a=0
b=";"
while [ $a -ne 3000 ]
do
echo $a$b >> test.txt
a=`expr $a + 1`
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment