bug#39929: coreutils-8.32 fails to build on aarch64

2020-03-06 Thread Kamil Dudka
On Thursday, March 5, 2020 6:39:23 PM CET Pádraig Brady wrote: > On 05/03/2020 16:21, Kamil Dudka wrote: > > While trying to build coreutils-8.32 for Fedora on aarch64, I got the > > following compilation failure: > > > > ../src/ls.c: In function 'print_dir': > > ../src/ls.c:3026:24: error: 'SYS_g

bug#39929: coreutils-8.32 fails to build on aarch64

2020-03-06 Thread Pádraig Brady
On 05/03/2020 21:43, Paul Eggert wrote: On 3/5/20 9:39 AM, Pádraig Brady wrote: Ah well. Does the attached address this for you. Eeeuw. Why is this code even there at all? If readdir(3) says that the current directory has no entries, shouldn't 'ls' just say that? Why should ls report an error

bug#39951: tail -n +NUM is not working properly

2020-03-06 Thread Dimitris Moraitidis
Hey there, tail -n + NUM does not return the desired output. +NUM starts from the top of the file, not from the bottom. So for example, given the following file: >this >is >an >example >file >each >word >represents >a >line and executing tail -n +3 example, I am getting >example >file >each >w

bug#39951: tail -n +NUM is not working properly

2020-03-06 Thread Michael Speer
you want the `head` of the file sans the last few lines, rather than the `tail` of the file sans the first few. from the man page for tail > -n, --lines=[+]NUM > output the last NUM lines, instead of the last 10; or use -n +NUM to output starting with line NUM > use -n +NUM to

bug#39951: tail -n +NUM is not working properly

2020-03-06 Thread Bernhard Voelker
On 3/6/20 10:42 AM, Dimitris Moraitidis wrote: Hey there, tail -n + NUM does not return the desired output. +NUM starts from the top of the file, not from the bottom. So for example, given the following file: this is an example file each word represents a line and executing tail -n +3 examp