Running
bufr_reencode.pl 1xBUFRSYNOP-ed4.txt > bufr.dat
with file 1xBUFRSYNOP-ed4.txt should produce a BUFR file bufr.dat, which when run through bufrread.pl would result in output exactly equal to 1xBUFRSYNOP-ed4.txt
bufr.pm:bufr_reencode_ex2
Running
bufr_reencode.pl 1xBUFRSYNOP-ed4.txt > bufr.dat
with file 1xBUFRSYNOP-ed4.txt should produce a BUFR file bufr.dat, which when run through bufrread.pl would result in output exactly equal to 1xBUFRSYNOP-ed4.txt