bug#49217: [PATCH] tests: exercise shuf --input-range edge cases

2021-06-26 Thread Erik Auerswald
* tests/misc/shuf.sh: Test valid "shuf -i" edge cases that result in a single line of input, or no line at all. Test an invalid range, too. --- tests/misc/shuf.sh | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/tests/misc/shuf.sh b/tests/misc/shuf.sh index

bug#49217: [PATCH] doc: clarify valid ranges for shuf -i

2021-06-26 Thread Erik Auerswald
* doc/coreutils.texi (shut invocation): Mention valid and invalid edge cases for --input-range. --- doc/coreutils.texi | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/coreutils.texi b/doc/coreutils.texi index ea040458e..f59c5e962 100644 --- a/doc/coreutils.texi +++

bug#49217: 'shuf' returns nothing if the low range number is higher by 1 than the high number

2021-06-25 Thread Erik Auerswald
Hi Paul, On Fri, Jun 25, 2021 at 09:29:04AM -0700, Paul Eggert wrote: > On 6/24/21 11:49 PM, Erik Auerswald wrote: > > $ shuf -i 2-0 ; echo %exit code $? > > shuf: invalid input range: ‘2-0’ > > %exit code 1 > > $ shuf -i 1-0 ; echo %exit c

bug#49217: 'shuf' returns nothing if the low range number is higher by 1 than the high number

2021-06-25 Thread Erik Auerswald
Hi, On Fri, Jun 25, 2021 at 08:54:43AM +0200, Erik Auerswald wrote: > On Fri, Jun 25, 2021 at 08:49:51AM +0200, Erik Auerswald wrote: > > On Thu, Jun 24, 2021 at 09:19:36PM -0700, Paul Eggert wrote: > > > On 6/24/21 4:46 PM, F8ER F8ER wrote: > > > >For example,

bug#49217: [PATCH] shuf: fix bug with "-i 1-0"

2021-06-25 Thread Erik Auerswald
"shuf -i 1-0" would mistakenly accept the invalid range without an error message and produce no output. Other invalid ranges, e.g., "shuf -i 2-0", would be detected and produce an error message, non-zero exit code, and no output. Bug reported by "F8ER F8ER." * src/shuf.c (main): Fix bug. *

bug#49217: 'shuf' returns nothing if the low range number is higher by 1 than the high number

2021-06-25 Thread Erik Auerswald
Hi, On Fri, Jun 25, 2021 at 08:49:51AM +0200, Erik Auerswald wrote: > On Thu, Jun 24, 2021 at 09:19:36PM -0700, Paul Eggert wrote: > > On 6/24/21 4:46 PM, F8ER F8ER wrote: > > >For example, `shuf -i 101-100 -n 1` returns nothing with the exit code > > >= 0 (unexpecte

bug#49217: 'shuf' returns nothing if the low range number is higher by 1 than the high number

2021-06-25 Thread Erik Auerswald
Hi, On Thu, Jun 24, 2021 at 09:19:36PM -0700, Paul Eggert wrote: > On 6/24/21 4:46 PM, F8ER F8ER wrote: > >For example, `shuf -i 101-100 -n 1` returns nothing with the exit code > >= 0 (unexpected). > > Actually, it's the expected behavior. It's the same behavior as > 'shuf -n 1 exactly 1

bug#47859: Additional seq outlandish example: seq 0 dangers

2021-04-18 Thread Erik Auerswald
Hi, On Sun, Apr 18, 2021 at 09:26:28AM +0800, 積丹尼 Dan Jacobson wrote: > On (info "(coreutils) seq invocation") we read >Be careful when using ‘seq’ with outlandish values: otherwise you >may... > > Here's another 'fun/sad/DDOS yourself' example you might add: > > One day I wrote a

bug#47246: pr -f does not pause

2021-03-18 Thread Erik Auerswald
POSIX specifies that pr -f shall "[p]ause before beginning the first page if the standard output is associated with a terminal" (see https://pubs.opengroup.org/onlinepubs/9699919799/utilities/pr.html). GNU pr does not do this. [The recently reported bug#47243

bug#47085: du: why does 'usage' show prefixes 'Z' or 'Y' if they are disallowed?

2021-03-11 Thread Erik Auerswald
Hi, On Thu, Mar 11, 2021 at 08:53:03PM -0800, L A Walsh wrote: > I thought to display 0 (or 0) for 1st arg by doing: > > du -BY, as -B says I can list a unit for scaling, but for > -BY and -BZ I get: > du: -B argument 'Y' too large. > > It doesn't even look to see how much space is used, it >

bug#45358: bootstrap fails due to a certificate mismatch

2021-03-09 Thread Erik Auerswald
Hi, On Tue, Mar 09, 2021 at 11:28:18AM +0200, Grigoriy Sokolik wrote: > I've rechecked: I cannot reproduce the problem, the certificate is trusted by my system: # via IPv4 $ gnutls-cli --verbose translationproject.org [...]issuer `CN=DST Root CA X3,O=Digital Signature Trust

bug#46422: [PATCH] Re: bug#46422: 'pr' screws up tabstops in multicolumn outpt?

2021-02-14 Thread Erik Auerswald
On Sun, Feb 14, 2021 at 11:04:21PM +, Pádraig Brady wrote: > On 14/02/2021 19:22, Erik Auerswald wrote: > >May I ask you to test the new patch (v4) as well? > > This version looks good. > I'll probably apply this after a little more local testing. Thanks!

bug#46422: [PATCH] Re: bug#46422: 'pr' screws up tabstops in multicolumn outpt?

2021-02-14 Thread Erik Auerswald
Hi, On 13.02.21 21:28, Leonard Janis Robert König wrote: On Sat, 2021-02-13 at 21:15 +0100, Erik Auerswald wrote: On 13.02.21 19:29, Leonard Janis Robert König wrote: [...] That being said, I don't see this exact distinction reflected in the code, so perhaps I just misunderstood. Disabling

bug#46422: [PATCH] Re: bug#46422: 'pr' screws up tabstops in multicolumn outpt?

2021-02-13 Thread Erik Auerswald
Hi, On 13.02.21 19:29, Leonard Janis Robert König wrote: first: Thank you very much for the work, I really owe you one! You're welcome. :-) On Sat, 2021-02-13 at 17:58 +0100, Erik Auerswald wrote: On 13.02.21 15:17, Erik Auerswald wrote: On 11.02.21 20:20, Erik Auerswald wrote: On Thu

bug#46422: [PATCH] Re: bug#46422: 'pr' screws up tabstops in multicolumn outpt?

2021-02-13 Thread Erik Auerswald
Hi, On 13.02.21 15:17, Erik Auerswald wrote: On 11.02.21 20:20, Erik Auerswald wrote: On Thu, Feb 11, 2021 at 06:09:28PM +0100, Leonard Janis Robert König wrote: On Thu, 2021-02-11 at 16:45 +0100, Erik Auerswald wrote: On Thu, Feb 11, 2021 at 04:12:54PM +0100, Leonard Janis Robert König

bug#46422: [PATCH] Re: bug#46422: 'pr' screws up tabstops in multicolumn outpt?

2021-02-13 Thread Erik Auerswald
On 11.02.21 20:20, Erik Auerswald wrote: On Thu, Feb 11, 2021 at 06:09:28PM +0100, Leonard Janis Robert König wrote: On Thu, 2021-02-11 at 16:45 +0100, Erik Auerswald wrote: On Thu, Feb 11, 2021 at 04:12:54PM +0100, Leonard Janis Robert König wrote: On Thu, 2021-02-11 at 13:00 +0100, Erik

bug#46422: 'pr' screws up tabstops in multicolumn outpt?

2021-02-11 Thread Erik Auerswald
Hi, On Thu, Feb 11, 2021 at 06:09:28PM +0100, Leonard Janis Robert König wrote: > On Thu, 2021-02-11 at 16:45 +0100, Erik Auerswald wrote: > > On Thu, Feb 11, 2021 at 04:12:54PM +0100, Leonard Janis Robert > > König wrote: > > > On Thu, 2021-02-11 at 13:00 +01

bug#46422: 'pr' screws up tabstops in multicolumn outpt?

2021-02-11 Thread Erik Auerswald
Hi, On Wed, Feb 10, 2021 at 01:42:29PM +0100, Leonard Janis Robert König wrote: > I'm sorry if I this is not a bug but to be expected, but I thnk pr > doesn't get the alignment of tabs in multicolumn output right. > [...] > This seems *kind* of related to multi-column merged output, as was >

bug#46422: 'pr' screws up tabstops in multicolumn outpt?

2021-02-10 Thread Erik Auerswald
Hi, On Wed, Feb 10, 2021 at 01:42:29PM +0100, Leonard Janis Robert König wrote: > I'm sorry if I this is not a bug but to be expected, but I thnk pr > doesn't get the alignment of tabs in multicolumn output right. > [...] > Unfortunately the POSIX spec is, in my reading, a bit unclear here. I

bug#46422: 'pr' screws up tabstops in multicolumn outpt?

2021-02-10 Thread Erik Auerswald
Hi, On Wed, Feb 10, 2021 at 01:42:29PM +0100, Leonard Janis Robert König wrote: > I'm sorry if I this is not a bug but to be expected, but I thnk pr > doesn't get the alignment of tabs in multicolumn output right. > > Consider the following test input, where everything from x->x is a tab > (with

bug#46060: Offer ls --limit=...

2021-01-24 Thread Erik Auerswald
Hi Dan, On 23.01.21 22:13, 積丹尼 Dan Jacobson wrote: I hereby propose "ls --limit=..." $ ls --limit=1 # Would only print one result item: A You might say: "Jacobson, just use "ls|sed q". Closed: Worksforme." Ah, but I am talking about items, not lines: You can use the ls option '-1' to print

bug#44444: RFE for 'env'?

2020-11-06 Thread Erik Auerswald
Hi, On Thu, Nov 05, 2020 at 11:41:44AM -0800, L A Walsh wrote: > On 2020/11/04 08:09, Erik Auerswald wrote: > >Please see > >https://www.gnu.org/software/coreutils/manual/html_node/env-invocation.html#g_t_002dS_002f_002d_002dsplit_002dstring-usage-in-scripts > >for an expl

bug#44444: RFE for 'env'?

2020-11-04 Thread Erik Auerswald
Hi, On Wed, Nov 04, 2020 at 07:27:17AM -0800, L A Walsh wrote: > Rewriting this bug as the other one, apparently, was too unclear > to be understood. > > This gives an example, two in fact. > > > On 2020/11/03 14:48, Bernhard Voelker wrote: > >On 11/3/20 6:29 PM, L A Walsh wrote: > >>I

bug#37702: Suggestion for 'df' utility

2020-05-31 Thread Erik Auerswald
Hi John, On Sun, May 31, 2020 at 06:52:04PM +1000, John Pye wrote: > The purpose of "df" is to show "disk free". Hence any filesystems that > are read-only or which are FUSE-mounted one on of the local physical > filesystems, or similar things (what others?) should be suppressed by > default.

bug#37702: Suggestion for 'df' utility

2020-05-30 Thread Erik Auerswald
Hi all, On 30.05.20 05:18, Bryce Harrington wrote: On Fri, Oct 11, 2019 at 12:56:20PM -0700, Paul Eggert wrote: On 10/11/19 11:20 AM, Pádraig Brady wrote: if you want to exclude nested file systems like that, you could try:   alias df='df -x squashfs' On my Fedora 30 workstation that

bug#41563: Possible bug with 'sort -Vr' version sorting

2020-05-28 Thread Erik Auerswald
Hi, On Thu, May 28, 2020 at 01:01:05PM +0200, Kamil Dudka wrote: > On Thursday, May 28, 2020 11:02:43 AM CEST Erik Auerswald wrote: > > On Thu, May 28, 2020 at 08:48:16AM +0200, Kamil Dudka wrote: > > > It is the underscore in the .x86_64 suffix what breaks the version compa

bug#41563: Possible bug with 'sort -Vr' version sorting

2020-05-28 Thread Erik Auerswald
Hi, On Thu, May 28, 2020 at 08:48:16AM +0200, Kamil Dudka wrote: > On Wednesday, May 27, 2020 2:07:32 PM CEST Danie de Jager via GNU coreutils > Bug Reports wrote: > > > > I use sort -Vr to sort version numbers. I noticed this discrepancy on > > the latest kernel version from Centos 7.8. > > >

bug#41563: Possible bug with 'sort -Vr' version sorting

2020-05-27 Thread Erik Auerswald
Hi, On Wed, May 27, 2020 at 02:07:32PM +0200, Danie de Jager via GNU coreutils Bug Reports wrote: > I use sort -Vr to sort version numbers. I noticed this discrepancy on > the latest kernel version from Centos 7.8. > > command to get output: > # ls -t /boot/vmlinuz-* | sed

bug#38299: A bug while trying to decode a non encode base64

2019-11-21 Thread Erik Auerswald
Hi, On Thu, Nov 21, 2019 at 12:04:11PM +0530, vardhaman narasagoudar wrote: > On Thu, Nov 21, 2019 at 12:51 AM Paul Eggert wrote: > > On 11/20/19 6:22 AM, Martin Schulte wrote: > > > vardhamanbn1 is a valid encoding > > > > Thanks for explaining; closing the bug report. > > Thanks for replying

bug#37062: Changes set are no applied to a locally plugged external device

2019-08-19 Thread Erik Auerswald
Hi Ricky, On Sat, Aug 17, 2019 at 01:23:31PM +0300, Ricky Tigg wrote: > Component under* Linux Fedora*: coreutils.x86_64 8.31-2.fc30 @updates > > Changes set are no applied to a locally plugged external device Perhaps the external device's filesystem does not support Unix access controls.

bug#36831: enhance 'directory not empty' message

2019-08-01 Thread Erik Auerswald
Hi, On Wed, Jul 31, 2019 at 04:05:05PM -0600, Assaf Gordon wrote: > On Mon, Jul 29, 2019 at 06:50:46PM -0500, Paul Eggert wrote: > > On 7/29/19 1:28 AM, Assaf Gordon wrote: > > > + if (rename_errno == ENOTEMPTY || rename_errno == EEXIST) > > > +{ > > > + error (0, 0,

bug#35032: date ISO 8601 / RFC 3339 formats

2019-03-28 Thread Erik Auerswald
Hi, On Thu, Mar 28, 2019 at 10:43:42AM -0700, Paul Eggert wrote: > On 3/28/19 10:20 AM, Nicolas Mailhot wrote: > > Would it be possible to make them both optional in --rfc-3339, and > > both mandatory in --iso-8601 ? > > Sorry, I don't understand what you're proposing, specifically. Can you >

bug#34700: rm refuses to remove files owned by the user, even in force mode

2019-03-03 Thread Erik Auerswald
Hi, On 3/3/19 09:40, L A Walsh wrote: On 3/2/2019 11:31 AM, Bob Proulx wrote: But regardless of that it does not change the fact that the entire purpose of read-only directories is to prevent removing and renaming of files within them. But not by the user owning them. The

bug#34700: rm refuses to remove files owned by the user, even in force mode

2019-03-02 Thread Erik Auerswald
Hi, On 3/2/19 07:18, Bob Proulx wrote: Nicolas Mailhot wrote: For their own reasons, the Go maintainers have decided the user Go cache will now be read-only. https://github.com/golang/go/issues/27161#issuecomment-433098406 That means cleaning up cache artefacts with rm does not work anymore

bug#33371: RFC: option for numeric sort: ignore-non-numeric characters

2018-11-14 Thread Erik Auerswald
Hi, On Tue, Nov 13, 2018 at 06:32:55PM -0800, L A Walsh wrote: > I have a bunch of files numbered from 1-over 2000 without leading zeros > (think rfc's)... > They have names with a non-numeric prefix & suffix around the number. Are prefix and suffix constant? RFC files are usually named

bug#32127: RFE -- in the way "cp -rl" -- enable 'ln' to do likewise?

2018-07-18 Thread Erik Auerswald
Hi, On Wed, Jul 18, 2018 at 04:36:44AM -0600, Mike Hodson wrote: > On Wed, Jul 18, 2018 at 4:24 AM L A Walsh wrote: > > > In the case of creating a link to a directory there is > > no choice in creating a "working solution". If you want a link > > there, it HAS to be a symlink. That the user

bug#32127: RFE -- in the way "cp -rl" -- enable 'ln' to do likewise?

2018-07-17 Thread Erik Auerswald
Hi, On Mon, Jul 16, 2018 at 11:14:21PM +0200, Bernhard Voelker wrote: > On 07/14/2018 07:51 PM, L A Walsh wrote: > > Paul Eggert wrote: > >> On 07/12/2018 02:16 AM, L A Walsh wrote: > >>> I'm asking why does 'ln' bother to tell the user that they are > >>> wrong and do nothing useful? Why

bug#31184: tail -f on Network FS not refreshing as soon as the file is changed.

2018-04-17 Thread Erik Auerswald
Hi Jewsco, did you already try the -F option instead of -f? Thanks, Erik On Tue, Apr 17, 2018 at 03:46:27PM +, Jewsco Pius Jacquez wrote: > Padraig, thanks for your response, > > The ---disable-inotify didn't refresh either. > > [root@cmilsbtest03 ~]# stat -f -c '%t %T'

bug#24813: Du Maximum files?

2016-10-28 Thread Erik Auerswald
Hi Ben, On Fri, Oct 28, 2016 at 05:56:07AM +, Benny D. Miller Jr. wrote: > I am not so sure that this is a bug but a limitation. I am using > "du" for a disk file listing/usage in the command: > > du --all --time --human-readable --apparent-size $1; You did not specify any problems with

bug#24561: Unmathematical bc exponentiation behavior

2016-09-29 Thread Erik Auerswald
Hi Tobias, On Wed, Sep 28, 2016 at 03:48:27PM +, Martens, Tobias wrote: > echo "-(1)^2" | bc > 1 > > I would have expected -1. This behavior is unmathematical and very > confusing, because otherwise bc acts quite logic. bc did exactly what you asked it to do. You probably meant to write:

bug#23773: su is not working for non-root users

2016-06-16 Thread Erik Auerswald
Hi, On Thu, Jun 16, 2016 at 07:44:06AM +0200, Bernhard Voelker wrote: > On 06/15/2016 06:31 PM, Al Mamun wrote: > > I was trying to "su - nonrootuser" but it returns incorrect password but > > the password is ok and I can login from ssh. Everything is good with root. > > Only the non-root user is

bug#22511: [request] Add "--preserve-setuid" to the chown command

2016-02-01 Thread Erik Auerswald
Hi, On Mon, Feb 01, 2016 at 03:33:29AM +0100, William Di Luigi wrote: > if I understand it correctly, chown clears the setuid bit for security > reasons (since, when changing the owner or group for a file, you could > potentially be allowing *new people* to run that file as root). > > While this

bug#22001: Is it possible to tab separate concatenated files?

2015-11-27 Thread Erik Auerswald
Hi, On Thu, Nov 26, 2015 at 08:28:13PM -0700, Eric Blake wrote: > On 11/26/2015 04:52 PM, Linda Walsh wrote: > > >> Because every plain > >> text line in a file must be terminated with a newline. > > > >That's only a recent POSIX definition. It's not related to > > real life. When I

bug#21349: who shows no users nowadays on Debian

2015-08-27 Thread Erik Auerswald
Hi, On Wed, Aug 26, 2015 at 02:13:37PM -0600, Bob Proulx wrote: Erik Auerswald wrote: This works on a current Debian/testing system (stable as well), so it might be a recent Debian/Sid (unstable) issue. Perhaps you want to open a bug report there? Updating utmp depends upon the terminal

bug#21349: who shows no users nowadays on Debian

2015-08-26 Thread Erik Auerswald
Hi Dan, On Wed, Aug 26, 2015 at 07:14:41AM +0800, 積丹尼 Dan Jacobson wrote: (info (coreutils) who invocation) says If given no non-option arguments, ‘who’ prints the following information for each user currently logged on: login name, terminal line, login time, and remote hostname or X

bug#21325: ls : feature request --width=zero

2015-08-23 Thread Erik Auerswald
Hi, On Sat, Aug 22, 2015 at 08:58:01PM -0700, Paul Eggert wrote: Pádraig Brady wrote: Also base64 -w0 has similar meaning. I didn't know that, but I don't like that either. Utilities should use an explicit representation for infinity, if that's what they need. 'Inf', say. In the

bug#21325: ls : feature request --width=zero

2015-08-23 Thread Erik Auerswald
Hi, On Sun, Aug 23, 2015 at 04:35:06AM -0700, Paul Eggert wrote: Erik Auerswald wrote: an explicit Inf keyword is still better than some number that relies on system limits With the latest patch, there are no system limits; you can use as big a number as you like. I'm aware of the use 0

bug#20936: suggestion for a 'wart-ish' extension off of 'sort'

2015-06-30 Thread Erik Auerswald
Hi, On Tue, Jun 30, 2015 at 12:28:09AM -0700, Linda Walsh wrote: I admit the ability to show a summary line might not bethe first thing you'd think a pure-sorting utility might do, but it would be awfully handy if sort had a 'Numeric sum' option (-N -- preferred '-s', but it's already taken)

bug#20936: suggestion for a 'wart-ish' extension off of 'sort'

2015-06-30 Thread Erik Auerswald
Hi, On Tue, Jun 30, 2015 at 02:35:17AM -0700, Linda Walsh wrote: On 6/30/2015 12:46 AM, Erik Auerswald wrote: du -sh *|sort -h|tail Why not use 'du -shc * | sort -h | tail -n11'? The total produced by du will sort after all the individual parts. Good idea -- didn't know about '-c

bug#20745: I would like to make a request for the sort command

2015-06-08 Thread Erik Auerswald
Hi, On Mon, Jun 08, 2015 at 10:51:59AM +0100, Stephane Chazelas wrote: 2015-06-08 11:16:37 +0200, Erik Auerswald: [...] FWIW I use 'sort' to sort IPv4 addresses in my ping_scan[1] script. The info documentation for sort provides another example, log files sorted by IP address and time

bug#20745: I would like to make a request for the sort command

2015-06-08 Thread Erik Auerswald
Hi, On Fri, Jun 05, 2015 at 01:57:33PM -0600, Eric Blake wrote: On 06/05/2015 01:35 PM, Silverman, Jeffrey X. -ND wrote: This was previously discussed, and while has merit at the time it was thought not important enough to add:

bug#20553: 'echo -e' does not escape backslash correctly

2015-05-12 Thread Erik Auerswald
Hi, On Mon, May 11, 2015 at 11:17:34PM +0100, Stephane Chazelas wrote: 2015-05-11 23:50:25 +0200, Jo Drexl (FFGR-IT): Hi guys, I had to write a Windows bat file for twentysomething users and - as Linux geek - wrote a small Bash script for it. The code in question is as follows: echo

bug#20474: tr command

2015-05-01 Thread Erik Auerswald
Hi, On Thu, Apr 30, 2015 at 11:10:52AM -0600, Eric Blake wrote: On 04/30/2015 10:31 AM, Joseph Piette wrote: When transferring files from the Windows environment to the Linux environment we execute a script to remove the \cr characters. The script performs a simple tr -d '\r'

bug#20354: [feature request] ln with command line arguments in reverse order

2015-04-17 Thread Erik Auerswald
On Fri, Apr 17, 2015 at 01:45:02PM +0100, Pádraig Brady wrote: On 17/04/15 12:45, Erik Auerswald wrote: On Fri, Apr 17, 2015 at 01:12:01PM +0200, Bernhard Voelker wrote: On 04/17/2015 10:39 AM, Ma Jiehong wrote: Currently, 'cp', 'mv' and 'ln' share the same basic syntax, that is to say

bug#20354: [feature request] ln with command line arguments in reverse order

2015-04-17 Thread Erik Auerswald
On Fri, Apr 17, 2015 at 01:12:01PM +0200, Bernhard Voelker wrote: On 04/17/2015 10:39 AM, Ma Jiehong wrote: Currently, 'cp', 'mv' and 'ln' share the same basic syntax, that is to say the following: cp [OPTION] SOURCE DEST mv [OPTION] SOURCE DEST ln [OPTIONS] TARGET LINK_NAME Which is

bug#20354: [feature request] ln with command line arguments in reverse order

2015-04-17 Thread Erik Auerswald
On Fri, Apr 17, 2015 at 03:07:50PM +0200, Bernhard Voelker wrote: On 04/17/2015 02:45 PM, Pádraig Brady wrote: ln [OPTIONS] EXISTING NEW I stilll think this is a translation issue. And I don't think the synopsis has to look the same as for cp and mv. If you really want it to be changed,

bug#19243: echo comand bug

2014-12-02 Thread Erik Auerswald
Hi, On Mon, Dec 01, 2014 at 11:12:51AM -0700, Eric Blake wrote: On 12/01/2014 10:56 AM, Chema F. Ledesma wrote: If you execute echo it does something strange repeating the last command before echo comand. Thanks for the report. However, this is not a bug in

bug#15945: chown: Does now allow setting user and users login group with numerical user ID

2013-11-21 Thread Erik Auerswald
Hi, On Thu, Nov 21, 2013 at 08:53:47AM -0700, Eric Blake wrote: On 11/21/2013 04:50 AM, Tormen wrote: I think I just found a bug in chown... \o/ ;) I tried: chown 1001: /tmp/bla Leading to: chown: invalid spec: `1001:' Drop the trailing colon. ... it should be a

bug#15092: Dirname Bug

2013-08-14 Thread Erik Auerswald
Hello Axel, On Wed, Aug 14, 2013 at 09:16:14AM +0200, Axel Spallek wrote: the following throw errors: dirname --to-0040257282759-in.wav dirname --to-0040257282759-in.wav dirname '--to-0040257282759-in.wav' IMHO at least the last two ones schould work. If the arguments to a program start

bug#13394: Misalignment for seq -w

2013-01-09 Thread Erik Auerswald
Hi, On 01/09/2013 11:34 AM, Bernhard Voelker wrote: On 01/09/2013 11:14 AM, Marcel Böhme wrote: There are the following problems with the -w parameter of the seq tool: [...] Hmm, according to the TEXI manual, the FIRST number should also use a fixed point decimal representation when the -w

bug#13394: Misalignment for seq -w

2013-01-09 Thread Erik Auerswald
On 01/09/2013 01:05 PM, Pádraig Brady wrote: On 01/09/2013 11:01 AM, Erik Auerswald wrote: Hi, On 01/09/2013 11:34 AM, Bernhard Voelker wrote: On 01/09/2013 11:14 AM, Marcel Böhme wrote: There are the following problems with the -w parameter of the seq tool: [...] Hmm, according

bug#13391: dd silently ignores lseek error

2013-01-08 Thread Erik Auerswald
Hi, On Wed, Jan 09, 2013 at 01:14:22AM +, Pádraig Brady wrote: On 01/08/2013 08:55 PM, Paul Eggert wrote: On 01/08/13 10:11, Neil Klopfenstein wrote: Note that it begins reading at the _beginning of the ar file_ -- the 'skip' argument has failed silently. But the 'skip' hasn't failed.

bug#13295: Possible bug - tr utility

2012-12-28 Thread Erik Auerswald
Hi Randy, On 12/28/2012 06:37 PM, Killen, Randy wrote: Hello - I encountered the situation shown below so thought that I would report it to see if it might be a bug or is expected behavior. Please let me know if you need additional information. Randy $ $ echo something | tr [:lower:]

bug#12301: tail -F ZFS

2012-08-29 Thread Erik Auerswald
Hi, On Wed, Aug 29, 2012 at 11:33:13AM +0200, Bernhard Voelker wrote: On 08/29/2012 11:12 AM, Jim Meyering wrote: Can we be sure that 0x2fc12fc1 is used for all ZFS implementations? If there end up being two or more magic numbers for the same file system (or ZFS variants going by new

bug#11994: [PATCH] Re: bug#11994: sort(1) doesn't say SEE ALSO uniq(1)

2012-07-20 Thread Erik Auerswald
. -- Steven Rostedt From 8031b27b75f7f668e3ac4989297ce0a0f7e84e52 Mon Sep 17 00:00:00 2001 From: Erik Auerswald auers...@unix-ag.uni-kl.de Date: Sat, 21 Jul 2012 00:48:17 +0200 Subject: [PATCH] doc: mention uniq(1) in sort(1) man-page and vice versa * man/sort.x: Add SEE ALSO section

bug#10355: Add an option to {md5,sha*} to ignore directories

2011-12-23 Thread Erik Auerswald
Hi Gilles, On 12/23/2011 02:45 PM, Gilles Espinasse wrote: I was using a way to check md5sum on a lot of file using for myfile in `cat ${ALLFILES}`; do if [ -f /${myfile} ]; then md5sum /$myfile $ALLFILES}.md5; fi; done But this is slow, comparing with xargs md5sum way. time (for myfile in

bug#10079: [PATCH] ln: fix position of --backup values description

2011-11-19 Thread Erik Auerswald
From a8b44ddbfa9b1e75dbaabbe69bb535ed045fbf0a Mon Sep 17 00:00:00 2001 From: Erik Auerswald auers...@unix-ag.uni-kl.de Date: Sat, 19 Nov 2011 22:07:29 +0100 Subject: [PATCH] ln: fix position of --backup values description * src/ln.c (usage): A paragraph describing interactions of -s with -L

bug#10030: grep: strange behavior with '-' in character class

2011-11-13 Thread Erik Auerswald
Hi, On 11/12/2011 08:05 PM, Thomas Dignan wrote: echo /lib64/ld-linux-x86-64.so.2 | grep -o '[a-zA-Z\/0-9\-\.]*' You probably want to use something like echo /lib64/ld-linux-x86-64.so.2 | grep -o '[-a-zA-Z/0-9.]*' Note: The '-' should be the first character inside a character class if it

bug#9762: tac fails when given multiple non-seekable inputs due to misuse of mkstemp()

2011-10-15 Thread Erik Auerswald
Hi, On Sat, Oct 15, 2011 at 01:40:17PM -0700, Ambrose Feinstein wrote: Trivial reproduction: $ true | tac - - tac: cannot create temporary file in `/tmp': Invalid argument This is present in coreutils 8.14. This is present in coreutils 8.13 as well: $ tac (echo a) (echo b) tac: cannot

bug#8736: chmod -p --parents

2011-05-27 Thread Erik Auerswald
Hi, On Thu, May 26, 2011 at 10:13:05PM +0200, francky.l...@telenet.be wrote: In the past, I was an advocate of the -p --parents option for mkdir. By now this is realised. Now I'm doing the same for chmod. [...] I want to be able to execute the following: chmod a+rx -p

bug#8575: Shell Script in Red Hat Enterprise Linux Server release 5.5 (Tikanga)

2011-04-28 Thread Erik Auerswald
Hi, On 04/28/2011 10:42 AM, Syed Nizamuddin wrote: I get the following error . basename: invalid option -- b Try `basename --help' for more information. basename: missing operand I have basename used as CMDE=`\basename $0 .sh` echo $basename is $CMDE Doesn't o/p anything. Please Try

bug#8500: util: where am i

2011-04-15 Thread Erik Auerswald
Hi, please don't top post, thanks. And keep on reading for inline comments. ;-) On 04/15/2011 09:33 AM, Panagiotis Tsiamis wrote: 2011/4/15 Bjartur Thorlaciussvartma...@gmail.com On 4/14/11, Panagiotis Tsiamisptsia...@gmail.com wrote: Request for adding one more feature on the utillity

bug#8391: chmod setuid setguid bits

2011-04-01 Thread Erik Auerswald
Hi, On Thu, Mar 31, 2011 at 11:54:26AM -0700, Paul Eggert wrote: On 03/31/2011 11:25 AM, Christian wrote: and using 0755 is explicit enough, isn't it ? Unfortunately it's not that simple, as having 0755 mean something different from 755 would violate the principle of least surprise. I am

bug#8391: chmod setuid setguid bits

2011-04-01 Thread Erik Auerswald
Hi, On Thu, Mar 31, 2011 at 02:15:36PM -0600, Eric Blake wrote: On 03/31/2011 01:58 PM, Christian wrote: Am 31.03.2011 20:54, schrieb Paul Eggert: On 03/31/2011 11:25 AM, Christian wrote: and using 0755 is explicit enough, isn't it ? Unfortunately it's not that simple, as having 0755

bug#7463: truncate

2010-11-22 Thread Erik Auerswald
Hi, On Mon, Nov 22, 2010 at 09:41:33AM -0500, Rupert Bruce wrote: truncate (GNU coreutils) 7.4 Unexpected behavior: $ ls -l total 0 $ truncate --size 0 *.log $ ls *.log I would expect truncate --size 0 *.log to truncate any files ending with .log; instead I get a new file called

bug#7042: df --help does not show `-m' option

2010-09-17 Thread Erik Auerswald
Hi, On Fri, Sep 17, 2010 at 09:56:57AM +0100, Pádraig Brady wrote: On 16/09/10 23:34, Paul Eggert wrote: If we're going to make incompatible changes, I suggest that we solve the problem once and for all, by having df choose the default blocksize dynamically, based on the size of the

bug#6790: Problem(bug?) with basic sort command in Linux

2010-08-04 Thread Erik Auerswald
Hi George, On Wed, Aug 04, 2010 at 01:32:55AM +0530, George Thomas Irimben (georgeti) wrote: I would like to report a problem(bug?) I am facing with sort command in Linux. Sorting of a simple text file using simple sort command is giving me incorrect result. Here is the problem: Text

bug#6247: Request a pause

2010-05-22 Thread Erik Auerswald
Hi, On 05/22/2010 06:16 PM, Mark A Powell wrote: Hello, I just read the man for the ls command. I didn't see an option for pause, as in DOS (dir/p). There are times when it would be a great help when, viewing more than one page of files in a directory. I hope this is not something, I over

bug#6020: coreutils-8.x: a simple feature enhancement, and how to do it

2010-04-29 Thread Erik Auerswald
Hi, two nit-picks regarding the test script below: On Thu, Apr 29, 2010 at 12:39:46AM +0100, Pádraig Brady wrote: [...] @@ -0,0 +1,51 @@ +#!/bin/sh +# Ensure sort -g sorts floating point limits correctly [...] +if test $VERBOSE = yes; then + set -x + mv --version ^^ sort

Re: [PATCH] sort: use posix_fadvise to announce access patterns on files opened for reading

2010-03-02 Thread Erik Auerswald
Hi, On Mon, Mar 01, 2010 at 05:33:38PM -0800, Joey Degges wrote: Were you sure to remount your devices to clear the cache before running these tests? While testing this patch early on the cache caused me many incorrect readings. Another approach I took to clear the cache was to fill up all of

Re: Pinky command

2009-11-11 Thread Erik Auerswald
Hi, On Wed, Nov 11, 2009 at 06:15:32PM -0700, Bob Proulx wrote: hemant.ru...@us.ing.com wrote: In old days, attackers used to create .project symbolic to passwd and group files to get the List of login ids and group via fingerd. The list of uids are already public in the /etc/passwd

Re: the unicode arrow

2009-09-07 Thread Erik Auerswald
Hi, On Mon, Sep 07, 2009 at 07:23:12AM -0600, Eric Blake wrote: According to Michal Svoboda on 9/6/2009 5:33 AM: When doing cp -va I can see neat quotes (depending on locale), as in „blah“, but the arrow is still composed of a dash and a greater-than symbol, as in -. Is there any plan to

Re: new snapshot available: coreutils-7.5.65-61cc6

2009-09-07 Thread Erik Auerswald
Hi Jim, On Mon, Sep 07, 2009 at 11:09:21AM +0200, Jim Meyering wrote: There have been disproportionately many bug fixes since coreutils-7.5. It's an interesting mix of fixes for recent regressions and for a few older bugs. coreutils snapshot: http://meyering.net/cu/coreutils-ss.tar.gz

Re: new snapshot available: coreutils-7.4.125-eca6

2009-08-17 Thread Erik Auerswald
On Mon, Aug 17, 2009 at 10:51:54PM +0200, Jim Meyering wrote: Mike Frysinger wrote: Changes in coreutils since 7.4.115-c9c92: `make make check` passes for me: - non-root user - glibc-2.10.1 - gcc-4.4.1 - linux-2.6.30.4 - x86_64 system Good to hear. Thanks for the speedy

Re: no feedback on snapshot? coreutils-7.5 coming soon

2009-08-12 Thread Erik Auerswald
Hi Jim, On Wed, Aug 12, 2009 at 12:42:59PM +0200, Jim Meyering wrote: AFAIK, I am the only one who has built the latest snapshot: http://thread.gmane.org/gmane.comp.gnu.coreutils.bugs/17604 Though it's been only two days. Unless I hear of new bug reports or portability problems

Re: [PATCH] ls: Use pretty UTF-8 arrow when showing where symlinks point to

2009-08-06 Thread Erik Auerswald
Hello Lennart, On Thu, Aug 06, 2009 at 07:24:42PM +0200, Lennart Poettering wrote: Diego Pettenò complained that ls -l doesn't use the UTF-8 arrow character to show where symlinks point to. This tiny patch fixes that. With this applied the character is used when the CODESET is UTF-8 otherwise

Re: Problem with Hostname

2009-07-11 Thread Erik Auerswald
Hi, On Sat, Jul 11, 2009 at 05:04:49AM -0400, Alfred M. Szmidt wrote: This command that accepts the -f option is *not* the GNU hostname command. There is a small confusion, there are two versions of GNU hostname. One that supports -f (GNU Inetutils hostname), and one that doesn't

Re: make check problems with coreutils 7.2 and earlier

2009-04-24 Thread Erik Auerswald
Hello Jim, On Fri, Apr 24, 2009 at 07:26:45AM +0200, Jim Meyering wrote: Tim Mooney wrote: ./configure --prefix=/local/gnu --exec-prefix=/local/gnu --build x86_64-sun-solaris2.10 --sysconfdir=/etc/local/gnu --libdir=/local/gnu/lib/64 --mandir=/local/gnu/share/man

Re: sort -g (generic numeric) is working only for the first key

2009-03-01 Thread Erik Auerswald
Hi Wasim, On Sun, Mar 01, 2009 at 08:09:43PM +0530, Wasim Akram S.N. wrote: Hi, I don't know whether the following is really a bug. ... wa...@wasim:~/temp$ sort -g -k1,3 -t \t a This tells sort to regard the first three fields as one key. I think you need something like sort -g -k1,1 -k2,2

Re: new snapshot available: coreutils-6.12.208-2441

2008-09-27 Thread Erik Auerswald
Hi Jim, On Sat, Sep 27, 2008 at 11:45:40AM +0200, Jim Meyering wrote: Here's a snapshot of the latest sources from coreutils and the parts of gnulib that it uses. Please beat it up ;-) If things work out, I may even make a test release by Wednesday. A quick glance showed me no obvious

Re: [PATCH] md5sum+sha*sum: add option --quiet/-q to suppress OK messages

2008-06-01 Thread Erik Auerswald
Hi, On Sun, Jun 01, 2008 at 04:51:43PM +0200, Jim Meyering wrote: Erik Auerswald [EMAIL PROTECTED] wrote: And here it is... (attached). Thanks. Here are some minor changes I expect to amend into your patch. They alphabetize lists, tweak wording and correct a comment. Plus, in NEWS

Re: Feat-Req: uniq -c delimiter should be changable

2008-05-17 Thread Erik Auerswald
Hi, On Sat, May 17, 2008 at 04:36:30PM +0200, Maximilian Haeussler wrote: Let's say I only want the 50 most common lines of a file: cat textfile | sort | uniq -c | sort -n | tail -n 50 | tr -s ' ' | cut -f2 This will only print the first word of each line with the current uniq version

Re: [PATCH] md5sum+sha*sum: add option --quiet/-q to suppress OK messages

2008-05-13 Thread Erik Auerswald
Hi, On Sun, May 04, 2008 at 06:33:45PM +0200, Erik Auerswald wrote: On Tue, Apr 22, 2008 at 07:10:58PM +0200, Jim Meyering wrote: Erik Auerswald [EMAIL PROTECTED] wrote: On Tue, Apr 22, 2008 at 06:05:48PM +0200, Jim Meyering wrote: Erik Auerswald [EMAIL PROTECTED] wrote: IMHO md5sum

Re: [PATCH] md5sum+sha*sum: add option --quiet/-q to suppress OK messages

2008-05-13 Thread Erik Auerswald
Hi, On Tue, May 13, 2008 at 03:12:57PM +0200, Jim Meyering wrote: Erik Auerswald [EMAIL PROTECTED] wrote: The copyright assignment process with the FSF is completed, find the patch against current HEAD as an attachment. Thanks again. I assume that means you sent it. The process

Re: [PATCH] md5sum+sha*sum: add option --quiet/-q to suppress OK messages

2008-05-04 Thread Erik Auerswald
Hi, On Tue, Apr 22, 2008 at 07:10:58PM +0200, Jim Meyering wrote: Erik Auerswald [EMAIL PROTECTED] wrote: On Tue, Apr 22, 2008 at 06:05:48PM +0200, Jim Meyering wrote: Erik Auerswald [EMAIL PROTECTED] wrote: IMHO md5sum and sha*sum are too verbose by default, especially when checking

Re: [PATCH] md5sum+sha*sum: add option --quiet/-q to suppress OK messages

2008-04-22 Thread Erik Auerswald
Hi, On Tue, Apr 22, 2008 at 06:05:48PM +0200, Jim Meyering wrote: Erik Auerswald [EMAIL PROTECTED] wrote: IMHO md5sum and sha*sum are too verbose by default, especially when checking a large collection of files with only a few failing validation. Therefore I'd like to see an option added

Re: wordcount (wc)

2008-04-21 Thread Erik Auerswald
Hi, On Mon, Apr 21, 2008 at 04:27:35PM +0200, Almer S. Tigelaar wrote: I have been using the 'wc' program (version 5.97) to manually verify some counts outputted by a component part of an application I am developing. I noticed that: echo 12345 | wc -m Gives me '6' as output. But I

[PATCH] md5sum+sha*sum: add option --quiet/-q to suppress OK messages

2008-04-20 Thread Erik Auerswald
the option --quiet/-q, including documentation and a testcase. Erik From c654c6aea71e636d627f09b06d2153dc99b3bac1 Mon Sep 17 00:00:00 2001 From: Erik Auerswald [EMAIL PROTECTED] Date: Sun, 13 Apr 2008 18:12:11 +0200 Subject: [PATCH] md5sum+sha*sum: add option --quiet/-q to suppress OK messages To: bug

(no subject)

2008-04-13 Thread Erik Auerswald
From 0bd30949c1953fc5339fc5cf30cc2527d3e660d7 Mon Sep 17 00:00:00 2001 From: Erik Auerswald [EMAIL PROTECTED] Date: Sun, 13 Apr 2008 18:12:11 +0200 Subject: [PATCH] md5sum+sha*sum: add option --quiet/-q to suppress OK messages * src/md5sum.c: add option --quiet/-q to suppress OK messages * doc