Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 Jun 2023 00:44:08 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 271832] od(1): fails to check -j value correctly
Message-ID:  <bug-271832-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271832

            Bug ID: 271832
           Summary: od(1): fails to check -j value correctly
           Product: Base System
           Version: 13.2-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: mohd.akram@outlook.com

To reproduce:

printf 1234 > file
od -j 5 file
echo $?

Expected output:

od: cannot skip past end of input
1

Actual output:

0000004
0


It seems to be misreading the file's size since larger values of -j (9+) wo=
rk
correctly.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-271832-227>