On 2022-02-27 12:37, Pádraig Brady wrote:
I just noticed some de facto treatment of the NO_COLOR env var.
https://no-color.org/
These people are not system implementors; they should not be proposing
variables in a POSIX-reserved namespace.
The website provides no contact links whatsoever;
On 2021-08-11 11:58, Peng Yu wrote:
On Wed, Aug 11, 2021 at 1:43 PM Kaz Kylheku (Coreutils)
<962-396-1...@kylheku.com> wrote:
On 2021-08-11 05:03, Peng Yu wrote:
> On Wed, Aug 11, 2021 at 5:29 AM Carl Edquist
> wrote:
>> (With just a bit more work, you can do all your s
On 2021-08-11 05:03, Peng Yu wrote:
On Wed, Aug 11, 2021 at 5:29 AM Carl Edquist
wrote:
(With just a bit more work, you can do all your sorting in a single
awk
process too (without piping out to sort), but i think you'll still be
disappointed with the performance compared to a single sort
On 2021-08-10 22:06, Kaz Kylheku (Coreutils) wrote:
On 2021-08-07 17:46, Peng Yu wrote:
Hi,
Suppose that I want to sort an input by column 1 and column 2 (column
1 is of a higher priority than column 2). The input is already sorted
by column1.
Is there a way to speed up the sort (compared
On 2021-08-07 17:46, Peng Yu wrote:
Hi,
Suppose that I want to sort an input by column 1 and column 2 (column
1 is of a higher priority than column 2). The input is already sorted
by column1.
Is there a way to speed up the sort (compared with not knowing column
1 is already sorted)? Thanks.
On 2021-07-19 00:50, Patrick Reader wrote:
On 19/07/2021 08:48, Kamil Dudka wrote:
On Monday, July 19, 2021 2:29:18 AM CEST James Lu wrote:
"ln" should write a warning to stderr if the source file doesn't
exist.
ln writes an error message to stderr if the source file does not
exist:
$ mkdir
On 2021-05-12 16:09, Pádraig Brady wrote:
copy_file_range() before Linux kernel release 5.3 had many issues,
Remark: although there is nothing wrong with the patch, and it is
necessary, this seems like an issue for the C library to handle,
as well.
- The GNU C library provides the function
On 2021-04-09 15:51, Pádraig Brady wrote:
On 09/04/2021 13:02, Carl Edquist wrote:
Dear Coreutils Maintainers,
I'd like to introduce my favorite 'ls' option, '-W', which I have been
enjoying using regularly over the last few years.
The concept is just to sort filenames by their printed
On 2021-04-15 18:44, Erik Auerswald wrote:
Hi,
On Thu, Apr 15, 2021 at 11:47:34PM +0200, Vincent Lefevre wrote:
I'm currently using version-sort in order to get integers sorted
in strings (due to the lack of simple numeric sort like in zsh),
but I've noticed some ugliness. This may be bugs,
On 2021-03-14 12:55, Jeffrey Walton wrote:
The underlying problem is GCC, Clang and friends conflate the user's
ISA with ISA the compiler uses. They are not the same - they are
distinct. Unfortunately, GCC and Clang never addressed the underlying
problem.
Sorry, what does that mean?
GCC works
On 2021-03-12 07:33, Kristoffer Brånemyr via GNU coreutils General
Discussion wrote:
Hi,
I was just wondering if you are planning to merge the change, or if
you decided against it? :)I wanted to use the cpuid.h autoconf
detection for another patch I'm working on.
Regarding the comment "Since
On 2021-03-10 13:59, L A Walsh wrote:
On 2021/03/07 03:20, Emilio Garcia wrote:
Hi all,
I checked out the coreutils repo on Github and I would like to ask
you
to add a dry-run option in the mv command.
When I've needed such functionality, I insert an 'echo'
before the
On 2021-02-22 07:31, Ed Fair via GNU coreutils General Discussion wrote:
Has it ever been discussed to add an option to the sort utility for
sorting numeric SNMP object identifiers by sub-identifier?
Probably not, but what has been discussed is sorting version numbers
like 1.2.3.
How are
On 2020-10-08 10:28, Tomás Fernandes wrote:
Hello,
I've recently come across chmod's man page as someone who is not very
experienced (1st year CS undergrad), and found that the definition of
the
letter X in the man page a bit unclear, more specifically this part (in
bold):
On the topic of
On 2020-10-08 10:28, Tomás Fernandes wrote:
Hello,
I've recently come across chmod's man page as someone who is not very
experienced (1st year CS undergrad), and found that the definition of
the
letter X in the man page a bit unclear, more specifically this part (in
bold):
execute/search
On 2020-10-05 08:40, A B wrote:
Many thanks for all the much needed contributions to society as a
whole.
I did have one feature to request for wc, which I think would be
highly complementary to grep’s -q flag. It would be really cool if wc
could have a -q flag as well, which could return
On 2020-09-23 09:56, Peng Yu wrote:
Hi,
Many people use dd to test disk performance. There is a key option dd,
which I understand what it literally means. But it is not clear how
there performance measured by dd using a specific bs maps to the disk
performance of other I/O bound programs. Could
On 2020-08-05 18:52, sunnycemet...@gmail.com wrote:
Hello. Given this documentation:
Comments may be introduced between round parentheses, as long as
included parentheses are properly nested.
Is this considered a bug:
■ LC_ALL=C date -d '(test 1 2 3'
Wed Aug 5 00:00:00 EDT 2020
■
On 2020-07-17 14:33, Pádraig Brady wrote:
On 17/07/2020 15:21, jens.archlinux jens wrote:
Hello,
propose to add a new option for sha256sum to output only the SHA-256
hash
alone, without a trailing file name and without a trailing newline.
(This would make sense for one input file only).
It
On 2020-07-03 14:38, Bernhard Voelker wrote:
On 2020-05-11 05:16, Vito Caputo wrote:
Does this already exist?
Was just moving a .tgz into a deep path and realized I hadn't created
it on that host, and lamented not knowing what convenient flag I could
toss on the end of the typed command to
On 2020-07-01 22:18, Jeffrey Walton wrote:
Hi Everyone,
The BLAKE2 folks have optimized implementations for b2sum on i686,
x86_64, NEON and PowerPC. It also has more options than the coreutils
version.
I'd like to disable b2sum in coreutils and use the BLAKE2 team's
version.
This is a job
On 2020-06-24 19:35, Andrej Surkov wrote:
Hi all!
ln syntax is very uncertain - every time I use ln I'm confused what
is
correct "ln -s LINK TARGET" or "ln -s TARGET LINK"! Of cause I can
check man ln or ln --help, but what if we add unambiguous syntax,
for
example
ln -s
On 2020-05-20 14:15, Bertrand Jacquin wrote:
In the fashion of make and git, add the ability for all sum tools to
change directory before reading a file.
$ sha256sum /etc/fstab
b5d6c0e5e6bc419b134478ad7b3e7c8cc628049876a7772cea469e81e4b0e0e5
/etc/fstab
Make requires this option because
On 2020-04-28 02:14, turgut kalfaoğlu wrote:
I would like to suggest and in fact volunteer to create a conf file
option to 'dd'.
By doing that you're replacing function arguments with global variables,
which is a bad idea.
It has dozens of hard to remember options, and there are some that
On 2020-03-19 01:54, Gabor Z. Papp wrote:
lo lo,
while trying to statically link coreutils 8.32 on linux x86_64, I'm
getting the following error:
Static linking has not been supported by Glibc for many years now; so
you can at best get a program's own components to be static, but not
down
On 2020-03-18 04:27, "Toni Uhlig (Smartphone)" via GNU coreutils General
Discussion wrote:
There are a lot of failing CI jobs and nobody seems to care about.
Some of them seem to fail since two+ years ago.
Why not disable them, if nobody cares about?
Source:
On 2020-03-15 09:00, Assaf Gordon wrote:
Hello,
On 2020-03-15 12:12 a.m., Kaz Kylheku (Coreutils) wrote:
On 2020-03-14 22:20, Peng Yu wrote:
Python base64 decoder has the altchars option.
[...]
But I don't see such an option in coreutils' base64. Can this option
be added? Thanks.
# use
On 2020-03-14 22:20, Peng Yu wrote:
Hi,
Python base64 decoder has the altchars option.
https://docs.python.org/3/library/base64.html
base64.b64decode(s, altchars=None, validate=False)¶
But I don't see such an option in coreutils' base64. Can this option
be added? Thanks.
# use %* instead of
On 2020-03-10 21:31, Jim Meyering wrote:
On Tue, Mar 10, 2020 at 12:24 PM Kaz Kylheku (Coreutils)
<962-396-1...@kylheku.com> wrote:
On 2020-03-10 11:52, Jim Meyering wrote:
> Otherwise, du provides no way of seeing how much of the actual disk
> space is being used by such FS-comp
On 2020-03-10 11:52, Jim Meyering wrote:
Otherwise, du provides no way of seeing how much of the actual disk
space is being used by such FS-compressed files.
If you stat the file, what are the values of st_size, st_blksize and
st_blocks?
On 2020-02-21 10:32, Riccardo Mazzarini wrote:
Hi Kaz, this works almost perfectly but it fails with filenames that
contain spaces.
I tried using quotation marks, i.e.
ls -dU "$(find .* * -maxdepth 0 -not -type d | sort ; find .* *
-maxdepth 0 -type d | sort)"
but that didn't work. Any
On 2020-02-20 16:01, Riccardo Mazzarini wrote:
The ls programs currently provides a "--group-directories-first"
option, to
group directories before files. I'd be nice to have the opposite
option,
"--group-directories-last" or "--group-files-first", to group files
before
directories.
On 2020-02-13 14:00, Stefano Pederzani wrote:
In fact, separating the parameters:
# cat controllareARCHIVIO_2020/02/controllare20200213.txt | sort -u |
sort -n | wc -l
1262
we workaround the bug.
My own experiment shows confirms things to be reasonable.
When -n and -u are combined, then
On 2020-02-06 09:05, Jim Meyering wrote:
On Thu, Feb 6, 2020 at 6:03 AM Pádraig Brady wrote:
On 06/02/2020 00:27, Jim Meyering wrote:
> Building latest latest coreutils using latest-from-git gcc10 evokes
> this false positive:
>
> lib/careadlinkat.c: In function 'careadlinkat':
> cc1: error:
On 2020-02-05 16:27, Jim Meyering wrote:
Building latest latest coreutils using latest-from-git gcc10 evokes
this false positive:
lib/careadlinkat.c: In function 'careadlinkat':
cc1: error: function may return address of local variable
[-Werror=return-local-addr]
lib/careadlinkat.c:73:8: note:
On 2020-01-29 01:45, Peng Yu wrote:
Hi,
It seems to me unlink and rm -f are the same if the goal is the delete
files. When are they different? Thanks.
I answered this on Unix Stackexchange in 2016:
https://unix.stackexchange.com/a/326711/16369
:)
On 2020-01-20 04:14, microsoft gaofei wrote:
Many people suggest using dd to create bootable USB,
https://www.archlinux.org/download/ . But cp and mv also writes to
USB, e.g., cp archlinux-2020.01.01-x86_64.iso /dev/sdb, cat
archlinux-2020.01.01-x86_64.iso > /dev/sdb. Is it safe to use these
On 2020-01-06 11:53, Sandeep Kumar Sah wrote:
previously i edited ls.c to print "Hello World" before listing content
in a
directory.
Now i have deleted the coreutils folder and everything underneath it.
I want to get the original version of ls command for which i am unable
to
build the source
On 2019-12-08 21:46, sunnycemet...@gmail.com wrote:
On 2019-12-02 13:58, Stephane Chazelas wrote:
With GNU coreutils sleep (and ksh93's builtin but not that of
bash or mksh) one can add a e-3 suffix to get miliseconds (and
e-6 for us and e-9 for ns)
sleep 1 # s
sleep 1000e-3 # ms
sleep
On 2019-11-29 09:38, Bernhard Voelker wrote:
On 2019-11-29 14:30, Rasmus Villemoes wrote:
When one wants to sleep for some number of milliseconds, one can
do (at least in bash)
sleep $(printf '%d.%03d' $((x/1000)) $((x%1000)))
but that's a bit cumbersome.
Why not use floating-point
On 2019-11-28 10:16, Kaz Kylheku (Coreutils) wrote:
But, let me remark, using KB, MB, for powers of 1000 is neither
metric, nor grounded in tradition. If it's all caps like KB and MB,
it's clearly 1024-based just like without the B. There has to be a
Sorry about that, this is flatly wrong
On 2019-11-28 04:39, Krzysztof Labus wrote:
In the manual I see:
The SIZE argument is an integer and optional unit (example: 10K is
10*1024). Units are K,M,G,T,P,E,Z,Y (powers of 1024) or KB,MB,...
(powers of 1000).
1. Why df not using Ki, Mi, Gi etc. in powers od 1024 ??
- Wastes space.
-
On 2019-10-30 13:14, Benjamin Arnold wrote:
Hi,
thanks a lot for your quick response.
Sorry, i must have missed the -links option, that's exactly what i am
looking for.
Unfortunately, it's a component in an incorrect solution.
A file tree being backed up can contain hard links (e.g. two
On 2019-10-26 16:05, Peng Yu wrote:
Are you sure they are 100% compatible with V? I don’t want to use them
just
later find they are not 100% compatible.
"are you sure various Python packages are compatible with sommething
vaguely described in a some years-old obscure blog post" doesn't
seem
On 2019-10-25 00:56, Ray Satiro wrote:
Recently I tracked down a delay in some scripts to this line:
find / -name filename* 2>/dev/null | head -n 1
(Here 'filename*' should be quoted, because we want find
to process the pattern, not for the shell to try to expand it.)
Interestingly, POSIX
On 2019-10-10 11:56, Wei MA wrote:
I compile the source code. And when i ran tests/cp/capabiliy.sh, cp
preserves attr failed without xattr support . Then i installed xattr.
I deleted coreutils and downloaded it again. The problem still exists.
A configure problem likely won't be due to a bad
On 2019-10-10 10:29, Сергей Кузнецов wrote:
Hello, I find it strange that md5sum does not yet support recursive
directory traversal. I moved part of the code from ls and added this
functionality. How about adding this? I also added sha3 and md6
algorithms,
they are in "gl/lib/".
If we have
On 2019-10-08 00:47, Peng Yu wrote:
Hi,
Since natural sort is provided in a few languages (as mentioned in the
Wikipedia page). Can it be supported by `sort` besides just
version-sort?
https://en.wikipedia.org/wiki/Natural_sort_order
This page has no precise specific definition of natural
On 2019-09-29 02:46, Francois wrote:
We can fix by rejecting the cases where --from option is provided
multiple
times and uid or gid are set twice.
An more sophisticated fix is to allow the --from to be given multiple
times,
but have the resulting range be the intersection of all of the
On 2019-09-02 01:03, Sami Kerola wrote:
I am not a maintainer, but I don't see any problem adding --interactive
long
only option. Getting a short option may clash with future posix
requirement,
so I believe they are not handed out without really good reasons.
Fear not; POSIX standardization
On 2019-09-01 17:50, Leslie S Satenstein via GNU coreutils General
Discussion wrote:
rmdir -i
I don't see this in a fairly recent GNU Coreutils 8.28 installation.
Must be very new?
There is some justification for such a thing. Though it may seem that
accidental
deletion of empty
On 2019-08-15 00:53, Harald Dunkel wrote:
IMHO they should have kept the "no args allowed" for echo
("in the late 70s") and should have introduced a new tool
"eecho" instead.
Well, new tool for printing was introduced under the name "printf".
On 2019-08-14 05:01, Harald Dunkel wrote:
Hi folks,
I just learned by accident that
var="-n"
/bin/echo -- $var
actually prints
-- -n
Shouldn't it be just
-n
?
According to POSIX, echo doesn't take options. It is specified
that "Implementations shall not
On 2019-07-31 20:36, Peng Yu wrote:
Hi,
Suppose that I know a md5sum that is derived one of the timestamps
computed below. Is there a way to quickly derive what the original
timestamp is? I could make a database of all the timestamps and their
md5sums. But as the total number of entries
On 2019-02-26 13:10, Bartells, Paul wrote:
I have encountered behavior with ls -R that appears to be incongruous.
My actual command line entry is: ls -alR /kyc_mis/dev/*/*/paul/* >
pauldev.lst.
[ ... ]
/kyc_mis/dev/rpts/paul/kyc:
total 599
-rwxrwx--- 1 pb82477 kycmis 262144 Oct 31 17:06
On 2019-03-17 05:27, Ed Neville wrote:
Taking suggestions into account, '--no-headers' seems more consistent
with ps options.
This loses on character count:
df --no-headers
df | sed 1d
Fully golfed:
df|sed 1d
Oops!
On 2018-10-16 18:58, fdvwc4+ekdk64wrie5d8rnqd9...@guerrillamail.com
wrote:
Under the section in the FAQ about uname, it refers to ``the Linux
kernel." Is not the GNU position that Linux should be referred to as
``Linux, the kernel' or something similar?
The GNU position is that an operating
On 2018-06-10 23:14, Pádraig Brady wrote:
I was asked off list to consider adding an option to rm
that could be enabled with an alias, and would protect
mount points specified on the command line.
[...]
$ rm -r --preserve-root=all /dev/shm
rm: skipping '/dev/shm', since it's a mount point
On 2018-06-01 04:08, Grady Martin wrote:
Hello. I have two questions:
· Is there a way to recursively merge two directories with move (not
copy/delete) operations, using standard GNU utilities?
· If not, how do coreutils' maintainers feel about an
-r/-R/--recursive patch for mv?
We can
On 2018-05-20 16:43, Bruno Haible wrote:
Kaz Kylheku wrote in
https://lists.gnu.org/archive/html/coreutils/2018-05/msg00036.html :
In what situation are there printable characters in the range [0,
UCHAR_MAX) that
have a width > 1?
That's the wrong question. The question is which characters
On 2018-05-13 15:05, Philip Rowlands wrote:
In the slow case, wc is spending most of its time in iswprint /
wcwidth / iswspace. Perhaps wc could learn a faster method of counting
utf-8 (https://stackoverflow.com/a/7298149); this may be worthwhile as
the trend to utf-8 everywhere marches on.
I
On 2018-05-16 17:13, Eric Fischer wrote:
I also found wcwidth to be a bad performance bottleneck in my multibyte
branch of coreutils. To fix the problem in my branch, I added a cache
of
the widths returned for characters in the range from 0 to UCHAR_MAX
(which
perhaps should also be widened to
On 2018-05-13 09:30, Harald Dunkel wrote:
On 5/13/18 1:08 PM, L A Walsh wrote:
If you look under --quoting-style, you'll
see:
--quoting-style=WORD use quoting style WORD for entry names:
literal, locale, shell, shell-always,
shell-escape,
On 2018-05-02 23:23, Mathai, Eldho (Nokia - IN/Bangalore) wrote:
After the make install we could see many binaries are missing in the
latest when compared with our existing old version. Can you help me
here to know why these binaries are missing and where can I get the
latest versions of these
On 2018-04-24 22:09, Pádraig Brady wrote:
I was thinking that the explanation of -S in usage() would say
something like:
-S, --split-string=S process and split S into separate arguments
used to pass multiple arguments on shebang
lines
One little problem with
On 2018-03-20 15:18, Assaf Gordon wrote:
Two things for later (not critical for now):
to make review easier, it's recommended to combine all commits that
relate to a single program
into one commit. This is called "squash" in git (see:
On 10.10.2017 07:03, Leslie S Satenstein wrote:
My RESPONSE
KISS
Hey, why not? Next year, everyone's embedded system will have twice the
flash.
Then they can stop using BusyBox and switch to Coreutils with colorized
everything!
On 26.08.2017 11:10, Colin Watson wrote:
I would like there to be an adverbial version of "cd", which takes a
path followed by a command and optional arguments and executes the
command with its working directory set to the given path. Its
invocation would be similar to chroot(8), that is:
On 26.08.2017 11:10, Colin Watson wrote:
sudo chroot /path/to/chroot sh -c 'cd /foo && ls -l'
The -c option is not the only way to pass a script to the shell.
You can also pipe it in.
This means dealing with shell quoting, which is tedious and
error-prone.
sh <<'end'
echo 'hello,
On 19.07.2017 10:03, Lance E Sloan wrote:
With regard to your objection to a special environment variable: I
agree.
I didn't feel strongly about it at first, but I was leaning towards not
implementing env. var. support for this. It just didn't feel right. I
have written programs that use env.
On 19.07.2017 06:29, Nellis, Kenneth wrote:
From: Steeve McCauley
I can't believe I'd never thought of reordering output columns like
this.
FWIW, I agree that another option should be used to prevent issues
with backward compatibility.
$ echo 1,2,3,4,5,6 | cut -d, -f3,5,2
2,3,5
$ echo
On 18.07.2017 15:44, Lance E Sloan wrote:
Hi, all.
Aside from a bug report, is there a way to submit a feature request for
coreutils? I have a couple of requests in mind, which I don't think
qualify as bugs:
1. Add a feature to "cut" that allows selected fields to be output in a
different
On 18.07.2017 01:17, SF Markus Elfring wrote:
I imagine that there are more advanced possibilities to improve the
software
run time characteristics for this use case.
Well, if it has to be fast, perhaps don't write the code in the shell
language.
To which “shell” would you like to refer
On 17.07.2017 12:37, SF Markus Elfring wrote:
A corresponding result could be achieved by using a subshell (which I
would
like to avoid for this use case) for a command like “(cd ${my_dir} &&
ls *txt)”.
If you want to capture these strings into a variable, you can't really
avoid a
On 17.07.2017 10:25, SF Markus Elfring wrote:
Hello,
The tool “ls” supports the filtering of directory contents.
No, it actually doesn't. In a shell command like
ls *.txt
it is actually the shell which performs the *.txt filename expansion,
before the ls program is executed. That program
On 28.06.2017 06:53, ra...@openmailbox.org wrote:
On 2017-06-01 04:45, Pádraig Brady wrote:
On 31/05/17 15:24, ra...@openmailbox.org wrote:
Existing tools like find(1) were thought sufficient
but find does not support sorting by date which ls does.
I hope this patch can be reconsidered for
On 27.05.2017 08:06, Pádraig Brady wrote:
Now the FreeBSD env(1) command supports the -S option
to do splitting much as you've proposed, so I see no need to be
different.
Could you adjust the patch accordingly?
I think it's probably best to avoid copying FreeBSD here. They have
created a
On 24.05.2017 18:10, Kaz Kylheku (Coreutils) wrote:
This is a new feature which allows the command argument of env to
encode
multiple extra arguments, as well as the relocation of the first
trailing argument among those arguments.
Looks like my MUA screwed this up with "format=f
78 matches
Mail list logo