SAKURA jpg image2024年11月12日 10時05分

[41112skr_c0c010.rb]
> f1 = File.open("41112skr.csv", "r")
> f2 = File.open("41112skr_c0c010.csv", "w")
> 
> while line = f1.gets
>   f2.puts line.gsub(/C0C010/, "\n              C0C010")
> end 
> 
> f1.close
> f2.close

[ext090.rb]
> for i in 0..0x10d
> printf("grep 3EF053CCFF90%04X 41112skr_c0c010.csv | head -1 | cut -c 65-186 >> 41112skr_c0c010_cut.hex\n", i)
> end

[Terminal]
> [0269] decimal = [010d] hexadecimal
> save above [41112skr_c0c010.rb]
> save above [ext090.rb]
$ ruby 41112skr_c0c010.rb
$ ruby ext090.rb
$ ruby ext090.rb > 41112skr.sh
$ sh 41112skr.sh
$ cat 41112skr_c0c010_cut.hex > 41112skr.hex
$ tr -d '\n' < 41112skr.hex > 41112skr-oneline.hex
$ cat 41112skr-oneline.hex | xxd -r -p > 41112skr-completion.jpg