projects
/
ardour.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Fixed error handling to use XSI strerror_r(), not the GNU version.
[ardour.git]
/
libs
/
surfaces
/
mackie
/
scripts
/
dump.rb
1
#! /usr/bin/ruby
2
3
while !File.exist? ARGV[0]
4
sleep 0.010
5
end
6
7
file = File.open ARGV[0], 'r'
8
9
while bytes = file.sysread( 3 )
10
puts "%02x %02x %02x" % [ bytes[0], bytes[1], bytes[2] ]
11
end