aboutsummaryrefslogtreecommitdiff
path: root/misc/repeat.rb
diff options
context:
space:
mode:
Diffstat (limited to 'misc/repeat.rb')
-rwxr-xr-xmisc/repeat.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/misc/repeat.rb b/misc/repeat.rb
new file mode 100755
index 000000000000..fa3da5dbdffb
--- /dev/null
+++ b/misc/repeat.rb
@@ -0,0 +1,3 @@
+#!/usr/bin/env ruby
+
+(Integer($*[0])..Integer($*[1])).each {|i| puts "case 0x%02X:" % i}