mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
Made hex byte offset lowercase
This commit is contained in:
@@ -51,8 +51,8 @@ impl InputOffset {
|
||||
match (self.radix, self.label) {
|
||||
(Radix::Decimal, None) => format!("{:07}", self.byte_pos),
|
||||
(Radix::Decimal, Some(l)) => format!("{:07} ({l:07})", self.byte_pos),
|
||||
(Radix::Hexadecimal, None) => format!("{:06X}", self.byte_pos),
|
||||
(Radix::Hexadecimal, Some(l)) => format!("{:06X} ({l:06X})", self.byte_pos),
|
||||
(Radix::Hexadecimal, None) => format!("{:06x}", self.byte_pos),
|
||||
(Radix::Hexadecimal, Some(l)) => format!("{:06x} ({l:06x})", self.byte_pos),
|
||||
(Radix::Octal, None) => format!("{:07o}", self.byte_pos),
|
||||
(Radix::Octal, Some(l)) => format!("{:07o} ({l:07o})", self.byte_pos),
|
||||
(Radix::NoPrefix, None) => String::new(),
|
||||
|
||||
Reference in New Issue
Block a user