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