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