coreutils
[Top][All Lists]
Advanced

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

Re: RFE: hash-type in sum utils


From: Pádraig Brady
Subject: Re: RFE: hash-type in sum utils
Date: Fri, 24 Aug 2012 11:14:23 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20110816 Thunderbird/6.0

On 08/23/2012 10:31 AM, Ondrej Oprala wrote:
> On 08/23/2012 11:16 AM, Pádraig Brady wrote:
>> On 08/23/2012 10:06 AM, Ondrej Oprala wrote:
>>> echo -E "$ex_output" > exp
>> That's using the shell's version which may not be portable.
>> To select the built echo binary use: env echo ...
>> Or even better, use: printf

> Corrected :)

Cool.
I've adjusted docs/tests/filename_unescape()
in the attached diff, which I'll push in a little while.

Note the filename_unescape() adjustment is to
ensure that '\0' is not written outside the
passed in buffer limits. This eases ongoing maintenance,
but is currently inconsequential as in the BSD case
we will write '\0' to the same place just after,
while in the standard case with the file name at
the end of the line, '\0' will already be present.

thanks!
Pádraig.

Attachment: sum-bsd.diff
Description: Text document


reply via email to

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