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: Paul Eggert
Subject: Re: tests: factor the generation of files without the final eol
Date: Mon, 14 Oct 2019 11:51:03 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.1.1

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.

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 ` ... `.



reply via email to

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