The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

 $> hdr - hexdump range

USAGE

 $> hdr -r range_definitions file_to_dump
 
 $> hdr file_to_dump -r 'header,40, yellow:padding,24:magic,16,red:size,4:data,100:footer,16' -o ver

head1 OPTIONS

 range_description|r           file name containing a description
                               or a string description formated as:
                                           'color:name,size:name,size,...'
                                            
 offset                        position in the data where to start dumping
 max_size                      amount of data to dump
 
 orientation|o                 'horizontal' or 'vertical'
 display_column_names|col      display columns names
 display_ruler                 display horizontal ruler
 format|f                      'ANSI' or 'ASCII' or 'HTML' 
 color                         'bw' or 'cycle',
 data_width                    number of bytes per dump line
 
 offset_format                 'hex' or 'dec' 
 show_offset                   0 == no the offset display
 show_cumulative_offset        0 == no cumulative offset display
 show_zero_size_range          0 == no display of range with size 0
 show_zero_size_range_warning  0 == no warnings about ranges with size 0
 
 show_range_name               1 == display of the range name
 maximum_range_name_size       truncate range name if longer
 display_range_size            1 == prepend the range size to the name
 
 show_hex_dump                 1 == display hexadecimal dump column
 show_dec_dump                 1 == display decimal dump column
 show_ascii_dump               1 == display ASCII dump column
 show_user_information         1 == display user information columns
 
 show_bitfields                1 == display bitfields
 show_source                   1 == display source for bitfields 
 
 h|help                        display this scripts help page

EXIT STATUS

Non zero if an error occured.

AUTHOR

  Nadim ibn hamouda el Khemir
  CPAN ID: NKH
  mailto: nkh@cpan.org