>Number:         145748
>Category:       bin
>Synopsis:       hexdump(1) %s format qualifier broken
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 16 06:40:00 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Garrett Cooper
>Release:        9-CURRENT
>Organization:
Cisco Systems, Inc.
>Environment:
>Description:
According to the manpage...

           o   A byte count or field precision is required for each ``s'' con-
               version character (unlike the fprintf(3) default which prints
               the entire string if the precision is unspecified).

.. this should just work. It doesn't however:

$ echo "$(jot -b a 1024)" | hexdump  -e '"%4s\n"'
hexdump: %s: requires a precision or a byte count
>How-To-Repeat:
echo "$(jot -b a 1024)" | hexdump  -e '"%4s\n"'
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:
_______________________________________________
freebsd-bugs@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to