bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

strings(1) documentation error


From: Bill Nugent
Subject: strings(1) documentation error
Date: Tue, 9 Sep 2003 22:07:31 -0400
User-agent: KMail/1.5

Howdy,

Josh Purington deserves the credit for finding inaccurate documentation.

The man page for strings(1) has an technical error in the first sentence 
of the description:

       For each file given, GNU strings prints the printable character
       sequences that are at least 4 characters long (or the number
       given with the options below) and are followed by an
       unprintable character.

The technical error is that End Of File (EOF) can also terminate the 
printable sequence of characters - try this to try to see for yourself:

$ echo -n abcd | strings

Perhaps a more accurate description is:

       For each file given, GNU strings prints the printable character
       sequences that are at least 4 characters long (or the number
       given with the options below) and are followed by an
       unprintable character or the end of file is reached.

I have attached a patch with this wording and please feel free to use it 
if you feel it is appropriate.

Please keep up the great work!

        Have a great day,
        Bill

Attachment: strings.1.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]