File: repeat.rb

package info (click to toggle)
libcbor 0.5.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster
  • size: 1,176 kB
  • sloc: ansic: 7,131; makefile: 154; sh: 71; python: 54; ruby: 17; cpp: 6
file content (3 lines) | stat: -rwxr-xr-x 89 bytes parent folder | download | duplicates (5)
1
2
3
#!/usr/bin/env ruby

(Integer($*[0])..Integer($*[1])).each {|i| puts "case 0x%02X:" % i}