bison-patches
[Top][All Lists]
Advanced

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

Re: tests: factor the generation of files without the final eol


From: Akim Demaille
Subject: Re: tests: factor the generation of files without the final eol
Date: Tue, 15 Oct 2019 07:02:04 +0200


> Le 14 oct. 2019 à 20:51, Paul Eggert <address@hidden> a écrit :
> 
> On 10/14/19 9:40 AM, Akim Demaille wrote:
> 
>> Can we trust all the ls implementations to really issue the size at "column" 
>> 5?
> 
> It should be safe. It was standardized in POSIX 1003.2-1992. Some older 'ls' 
> implementations put it in column 4, but they're long obsolete.

Good, thanks!

>> At least the CI agrees :)  But since so far the test suite is still using 
>> `...`, I used this version:
>> ...
>> +set x $(LC_ALL=C ls -l '$1') &&
> 
> That $( ... ) should also be ` ... `.

Doh...  Thanks, fixed!




reply via email to

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