From d07780b7654f77d317719cd702d9dc9f7e1e9aaf Mon Sep 17 00:00:00 2001 From: max-amb Date: Thu, 7 May 2026 00:53:52 +0100 Subject: [PATCH] Made hex byte offset lowercase --- src/uu/od/src/input_offset.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/uu/od/src/input_offset.rs b/src/uu/od/src/input_offset.rs index 8e5dcffb6..4938833f5 100644 --- a/src/uu/od/src/input_offset.rs +++ b/src/uu/od/src/input_offset.rs @@ -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(),