bug#25185: translation bug in id

2016-12-12 Thread Eric Blake
id --version id (GNU coreutils) 8.25 Copyright (C) 2016 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Wr

bug#25029: shuf generates “Bad file descriptor” error on nfs but only when run as a background process

2016-11-28 Thread Eric Blake
an explicit stdin in the first place. But I agree that it is a nice quality-of-implementation thing for coreutils to have reasonably-sane behavior in the fact of closed fds, even if POSIX does not require us to. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

bug#25009: ls -b fails to escape '-' c-style (ls (GNU coreutils) 8.21)

2016-11-23 Thread Eric Blake
haracters but - looks like a graphical character to me, so it doesn't need an escape. I don't see a problem here, so I'm marking this as not a bug; however, feel free to followup with more details, such as better justification for why - should be treated as a nongraphic character. -- Eric Blake

bug#24926: ls output has been made ugly

2016-11-11 Thread Eric Blake
On 11/11/2016 03:25 PM, L. A. Walsh wrote: > Eric Blake wrote: >> >> If the idea is that the quoting is there to make copy-and-pasting into a >> shell command line easier, then there is nothing we can do that is less >> aggressive, since failing to quote spaces change

bug#24926: ls output has been made ugly

2016-11-11 Thread Eric Blake
On 11/11/2016 03:08 PM, L. A. Walsh wrote: > > > Eric Blake wrote: >>>> touch 'a b' c >> >> That's your problem. Paul did: >> >> $ touch 'a b' c > > He didn't list his creation command. How > would you know? Becau

bug#24926: ls output has been made ugly

2016-11-11 Thread Eric Blake
, may be the way to go - but then you STILL have the problem of what to pick as the default of those two modes when neither one was explicitly requested. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

bug#24894: coreutils 8.4 : `test -s` without argument does not return an error

2016-11-07 Thread Eric Blake
;' tests for whether file is empty, and '-z "$string"' tests for whether $string is empty. But here we are talking about ONE argument, '-s', which is non-empty. (Yes, the one-argument case is identical to using the two-argument -z "$string" case.) -- Eric Blake

bug#24894: coreutils 8.4 : `test -s` without argument does not return an error

2016-11-07 Thread Eric Blake
onique, les éventuels fichiers joints et les informations > qu'il contient, Legalese like this is unenforceable on public mailing lists; you may wish to use a personal email account rather than spamming us with your employer's garbage disclaimer. -- Eric Blake eblake redhat com+1-919-301-3266 L

bug#24794: broken tags in coreutils.git

2016-10-25 Thread Eric Blake
On 10/25/2016 11:03 AM, Eric Blake wrote: > Newer git is more picky about what constitutes a well-formed tag. > I'm hoping Jim knows the magic for how to (temporarily) suspend the > hooks and make the correction; in the meantime, I'm opening this bug > report to track that we stil

bug#24794: broken tags in coreutils.git

2016-10-25 Thread Eric Blake
free to take discussion offline, since configuration to temporarily weaken hooks may not be the best idea to publically archive... -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

bug#24730: rmdir/mkdir error(s) and/or not working "reciprocally" w/each other

2016-10-18 Thread Eric Blake
'a/..' was already an error; but obviously coreutils >> removes 'a' > > What version of core-utils shows this behavior. In the latest one it's not > removed AFAICS. Hmm, you're right. I was going off the (incorrect) comment in the text above, rather than actually testing it; so i

bug#24730: rmdir/mkdir error(s) and/or not working "reciprocally" w/each other

2016-10-18 Thread Eric Blake
storical behavior, so we can't really change it now. So I'm marking this as not a bug, as there is nothing to change. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

bug#24601: UTF-8 locale makes lexicographic sort weird

2016-10-03 Thread Eric Blake
what you were EXPECTING to see, only that the output differed from your expectations); but if so, that is better reported to the glibc list. In the meantime, I'm closing this as not a coreutils bug, although you can feel free to continue the conversation. -- Eric Blake eblake redhat com

bug#24599: Cannot process files named -

2016-10-03 Thread Eric Blake
ls is intentional and not a bug. > Hoping you can reply soon (not subscribed), It's list policy to reply-to-all, precisely so you do not have to subscribe. At any rate, since the behavior is intentional, and complies with POSIX, I'm marking this as not a bug. However, feel free to add furthe

bug#24077: VS: bug in MAN page for data command

2016-07-27 Thread Eric Blake
y.%S format, as an additional line of text? -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

bug#24007: Report cat bugs to bug-coreutils@gnu.org

2016-07-16 Thread Eric Blake
ments on the thread. Feature suggestions can be sent to coreut...@gnu.org, rather than the bug list, if you are not sure whether it is worth pursuing, so that we don't clog up the bug database. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

bug#23853: chmod can unset sticky bits using octet format

2016-06-27 Thread Eric Blake
d 00755 abc (sticky bits cleared using the 5th octal position) The behavior of the 5th octal to intentionally specify that the otherwise leading 0 is intended to clear sticky bits is intentional, so the only bug here is in the documentation for not making the intended behavior more obvious. -

bug#23737: wrong rm -i prompt

2016-06-09 Thread Eric Blake
ional and not a bug: https://cygwin.com/ml/cygwin-announce/2016-04/msg00024.html As such, I'm closing this in the coreutils bug database. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

bug#23677: sort --debug not ignoring punctuation when sort does

2016-06-02 Thread Eric Blake
is affected by those definitions, since it is more than just sort(1) that is impacted. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

bug#23664: Date Problem: Wrong return using last month today (2016-05-31)

2016-05-31 Thread Eric Blake
m closing out this particular request in the bug database, since it is known behavior, but feel free to add more comments or even provide a reason that it should be reopened if what has been mentioned above is insufficient to help you with your use of 'date'. -- Eric Blake eblake redhat c

bug#23556: sort(1): misleading description of option -n

2016-05-16 Thread Eric Blake
-numeric portion of the line. > …, but instead, -n stops doing its magic after finding the first > non-numeric, non-whitespace character. Because that is how it has always behaved, and how POSIX requires it to behave. http://pubs.opengroup.org/onlinepubs/9699919799/utilities/sort.html --

bug#23466: file command bug

2016-05-06 Thread Eric Blake
file bugs to http://bugs.gw.com/. I'm closing out this entry in the coreutils bug database, as there is nothing further we can do here. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

bug#23422: stat -c %N returns strange results for file names including

2016-05-02 Thread Eric Blake
uoting-style command line option to override the env-var, the same way as is done in ls. So on that grounds, I'll leave this bug report open. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

bug#23285: tar lacks a 'preserve symlinks on extract' option

2016-04-13 Thread Eric Blake
clude tar; and tar does not (yet?) use the debbugs.gnu.org bug tracker, so we can't reassign your bug. The best we can do is close this bug (as it is not a coreutils problem) and tell you to resend your mail to bug-...@gnu.org, as directed by 'tar --help'. -- Eric Blake eblake redhat com+1-919

bug#23277: md5sum: Output broken when filename contains \n

2016-04-12 Thread Eric Blake
be present). As the manual mentions that this is intentional behavior, I'm closing this as not a bug, but feel free to respond with further comments. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

bug#23239: GNU echo -n argument bug

2016-04-08 Thread Eric Blake
On 04/08/2016 12:15 AM, Ruediger Meier wrote: > On Friday 08 April 2016, Eric Blake wrote: >> tag 23239 notabug >> thanks >> >> On 04/07/2016 01:27 PM, Faissal Bensefia wrote: >>> Hey, >>> I stumbled across a bug in GNU coreutils' echo, if I use

bug#23239: GNU echo -n argument bug

2016-04-07 Thread Eric Blake
be accepted, the new wording will > need to add only a narrow set of cases to the implementation- > defined behaviour. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

bug#23222: test: incorrect operator-precedence

2016-04-05 Thread Eric Blake
rguments shall > be disregarded. It is clearly only intended for > other binary operators than logical operators. Sorry, but that's not how POSIX is worded. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

bug#23222: test: incorrect operator-precedence

2016-04-05 Thread Eric Blake
it status is correctly 0. > > Explanation: ! has higher precedence than -a, Wrong. As mentioned above, the rules are based not on precedence, but on how many operands are present. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

bug#23176: Bug report / tail / ubuntu 14.04.2 LTS /

2016-03-31 Thread Eric Blake
[moderator note - resending with large .pngs stripped so as not to overwhelm the list server or recipients; the original bug can be viewed online at bugs.gnu.org/23176] Forwarded Message To: 23...@debbugs.gnu.org Date: Thu, 31 Mar 2016 20:55:58 +0200 Message-ID:

bug#23090: true and false not POSIX

2016-03-22 Thread Eric Blake
not maintained on this list; see bug-standa...@gnu.org If you get that change approved by rms, then we'll adjust coreutils to match. But rms will probably ask for the coreutils' maintainers' opinion before approving such a change, so it will be an uphill battle on your side. -- Eric Blake eblake

bug#23090: true and false not POSIX

2016-03-22 Thread Eric Blake
> rare, the probabilty is high that the user assumes well known behavior. The probability that someone knows well-known GCS behavior of '--help' working are also high. At this point, the change would be more disruptive than keeping the status quo. -- Eric Blake eblake redhat com+1-919-301-3266 Lib

bug#23090: true and false not POSIX

2016-03-22 Thread Eric Blake
t. Note that it is a high bar to change the behavior of something like 'true'. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

bug#23090: true and false not POSIX

2016-03-22 Thread Eric Blake
On 03/22/2016 09:13 AM, Eric Blake wrote: > On 03/22/2016 06:43 AM, Ruediger Meier wrote: >> Hi, >> >> Is there any good reason why coreutils true and false are not POSIX? > > No, because coreutils' true and false ARE compliant with POSIX. > >> But cor

bug#23090: true and false not POSIX

2016-03-22 Thread Eric Blake
f choice is determined by your environment variables. In the case of 'true' and 'false', the two standards do not conflict, so we implement both of them at once without the need to resort to reading POSIXLY_CORRECT from the environment. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt

bug#23090: true and false not POSIX

2016-03-22 Thread Eric Blake
xplicitly > says: "Implementations shall not support any options". No, 'echo' is a special case, and in this special case, coreutils' echo _is_ compliant with POSIX, when you set POSIXLY_CORRECT in the environment. > > BTW I know about POSIXLY_CORRECT env. I just ask this: Is it wo

bug#23090: true and false not POSIX

2016-03-22 Thread Eric Blake
urn was generated from 'true --help' output. So a lot more people read it than you might think, even if they don't directly invoke it. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

bug#23008: Daylight Savings Time Bug in Date

2016-03-14 Thread Eric Blake
losing this as not a bug, but feel free to reply with further questions or comments. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

bug#22998: File removal bug

2016-03-12 Thread Eric Blake
lename.extension. > There is a potential fix for this. It is existing in Ubuntu, Fedora, NetBSD, > FreeBSD and OmniOS, atleast. This is not a bug, but the behavior mandated by POSIX. Therefore I'm closing this report. However, feel free to ask further related questions in response to this thread. --

bug#22949: lib/set-permissions.o compile fail on Cygwin

2016-03-09 Thread Eric Blake
On 03/09/2016 12:14 AM, Bernhard Voelker wrote: > On 03/09/2016 12:03 AM, Eric Blake wrote: >> Appears to have been broken in gnulib commit 2d5ce445, first released in >> coreutils 8.24. Does this look okay to push on the coreutils side? > > bdb72bc6: LGTM, thanks! >

bug#22949: lib/set-permissions.o compile fail on Cygwin

2016-03-08 Thread Eric Blake
tag 22949 fixed thanks On 03/08/2016 02:56 PM, Eric Blake wrote: > Posting this now for the record, although I'm trying to figure out what > the correct patch should be: > > When compiling coreutils 8.25 for cygwin-2.4.1, I got a working > 'install' using CFLAGS=-g, but o

bug#22949: lib/set-permissions.o compile fail on Cygwin

2016-03-08 Thread Eric Blake
-permissions.c: In function 'set_acls_from_mode': lib/set-permissions.c:273:1: warning: control reaches end of non-void function [-Wreturn-type] and based on the choice of CFLAGS, it changed whether I was left with 0 or 1 as a return value from qset_acl(). -- Eric Blake eblake redhat com+1-919-301

bug#22909: [PATCH] test: Document that -a and -o are undesirable

2016-03-04 Thread Eric Blake
On 03/04/2016 10:51 AM, Jim Meyering wrote: > On Fri, Mar 4, 2016 at 9:50 AM, Jim Meyering <j...@meyering.net> wrote: >> On Fri, Mar 4, 2016 at 9:12 AM, Pádraig Brady <p...@draigbrady.com> wrote: >>> On 04/03/16 08:55, Eric Blake wrote: >> ... >>>>

bug#22909: [PATCH] test: Document that -a and -o are undesirable

2016-03-04 Thread Eric Blake
POSIX recommends avoiding -a and -o, for good reason. src/test.c (usage): Mention that inherent ambiguities exist with binary -a and -o. Problem reported by Martin Gebert in: http://bugs.gnu.org/22909 --- src/test.c | 5 + 1 file changed, 5 insertions(+) diff --git a/src/test.c b/src/test.c

bug#22909: Manpage test(1): Obsolescent logical operators

2016-03-04 Thread Eric Blake
hich is the source for the Coreutils' man page, which in turn feeds those two web sites) probably should be more vocal that -a and -o should be avoided. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

bug#22698: ls output changes considered unacceptable

2016-02-18 Thread Eric Blake
Overarching generalization. _I_ like it (even if I think it can be further improved), so it is _not_ a waste of time for everyone to have a safer default. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: Ope

bug#22696: ls output changes considered unacceptable

2016-02-16 Thread Eric Blake
On 02/16/2016 04:09 PM, Ruediger Meier wrote: > On Tuesday 16 February 2016, Eric Blake wrote: >> On 02/16/2016 03:13 PM, Ruediger Meier wrote: >>> Do you really think that this ls output is clear to a newbie? >>> $ ls >>> 'a?b' 'a'$'\n''b' axb c 'd e'

bug#22696: ls output changes considered unacceptable

2016-02-16 Thread Eric Blake
r environment to select the previous behavior as _your_ default, regardless of what we select for the out-of-the-box default for someone that hasn't updated their initial environment to request an alternate quoting mode. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtu

bug#22567: Factoring 38 nines

2016-02-08 Thread Eric Blake
html> > C'est logiciel libre..." > > Should be "C'est ***un*** logiciel libre..." or "Ceci est ***un*** logiciel > libre..." > > > > -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

bug#22568: "grep ... | tee file" drops the 'n' in its output

2016-02-05 Thread Eric Blake
it is NOT a bug in 'tee' nor in 'grep', but a case of the shell doing exactly what you told it to. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

bug#22567: Factoring 38 nines

2016-02-05 Thread Eric Blake
On 02/05/2016 10:55 AM, Eric Blake wrote: A bit more commentary: >> Looks like I found a bug in the `factor` command >> (version 8.21 on Gentoo Linux). For the following input: >> factor 99 >> it hangs, but for a lo

bug#22567: Factoring 38 nines

2016-02-05 Thread Eric Blake
elves using quantum computers, where the rules of factoring are completely different, but that's a completely different topic). At any rate, although I'm marking this as not a bug, you may feel free to add further comments to the thread. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt vir

bug#22567: Factoring 38 nines

2016-02-05 Thread Eric Blake
h in turn feeds the man page) might be a useful change. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

bug#22433: mkdir bug (?)

2016-01-22 Thread Eric Blake
such, I'm closing this as not a bug, but feel free to add further comments to this thread. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

bug#22432: owner, group and mode options are only applied to the deepest directory

2016-01-22 Thread Eric Blake
to this thread. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

bug#22363: Bug of stat in bash

2016-01-19 Thread Eric Blake
not the information you are looking for. > > Otherwise, finally I had resolved my script with du.Best regards. I'm glad to hear that 'du' is indeed what you were looking for. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

bug#22363: Bug of stat in bash

2016-01-13 Thread Eric Blake
However, feel free to reply with any further related questions. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

bug#22216: test, expr Operator Precedence and Associativity

2015-12-21 Thread Eric Blake
e. POSIX even says so - there are some expressions which are completely ambiguous when you attempt to use -a or -o. Also, your lack of quoting is a classic pitfall for how to incorrectly use test. Better than what you typed would be using: test -f "$1" && test ! "$1" -ot "$2&

bug#22205: tee bug?

2015-12-18 Thread Eric Blake
his e-mail (including any attachments) is confidential and may be > privileged or Such a disclaimer is unenforceable on publically-archived lists, and you may want to consider not using your employer's spammy email gateway when sending mail to public lists. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

bug#22109: Sort gives incorrect order when changing delimiters

2015-12-07 Thread Eric Blake
is a very distinct difference between '-k2' and '-k2,2'; only the latter one limits the sort to JUST the second key ("a" vs. "aa", regardless of delimiter), while the former slurps in the rest of the line such that the spelling of the delimiter affects the result. I'm ma

bug#22109: Sort gives incorrect order when changing delimiters

2015-12-07 Thread Eric Blake
or more single-letter ordering options [bdfgiMhnRrV], > which override global ordering options for that key. If no key is given, use >-the entire line as the key. >+the entire line as the key. Use --debug to diagnose incorrect key usage. -- Eric Blake eblake redhat com+1-919-301-3266 Libvi

bug#22084: Potential Bug in sort -r

2015-12-03 Thread Eric Blake
he documented behavior, and matches the POSIX requirement, there is no bug. I'm thus closing out this report; however, feel free to add further comments to the thread. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

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

2015-11-26 Thread Eric Blake
ations of sed (not GNU coreutils, mind you, but other vendors) that really were hardcoded to some rather small limits, and understandably so in a day when computers did not have as much memory as they do today. POSIX just standardized existing practice on what formed a text file, when it came to ex

bug#22022: ls - error making symbolic links with relative paths

2015-11-26 Thread Eric Blake
as a symlink to '../b/a', and therefore resolves rather than creating a dangling symlink. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

bug#21889: hostname -f

2015-11-12 Thread Eric Blake
am coreutils, so I'm closing the bug report in this database. However, feel free to add further comments to this thread, and/or to take your question to the cygwin list on how you propose they change their distro. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization

bug#21880: Possible bug in sort --check --key

2015-11-11 Thread Eric Blake
e an out-of-order difference in the input. > > It seems to me both of situation is equal with relation of line key, why > does the output is different? The output differs because of your use of --stable. Therefore, this is not a bug in sort, and I'm closing this bug. However, do feel fre

bug#21776: bug

2015-10-28 Thread Eric Blake
ing 'Date'. I'm closing this bug report in the database, but you should feel free to ask further questions on this thread. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

bug#21749: printf --help not working

2015-10-24 Thread Eric Blake
future bash releases may be adding support for 'printf --help' with the bash builtin printf, to match the fact that ksh builtin printf already accepts that option; but that won't help for dash, which is Ubuntu's /bin/sh. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization li

bug#21712: Suspected bug in find -exec '+'

2015-10-19 Thread Eric Blake
ed by a lone {}. The fact that it is not a usage error may be a particular GNU find extension, but you probably shouldn't rely on it. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

bug#21672: env is not splitting command and argument as suggested by the synopsis

2015-10-12 Thread Eric Blake
I'm not the expert in it, I'm not going to go trying to find that documentation right now. Therefore, I'm closing this as not a coreutils bug, although you should feel free to add further comments on the topic as desired. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualizat

bug#21636: a question of the “wc” program

2015-10-06 Thread Eric Blake
r spelling your file name with a leading ./ so that it can't be confused with an option, will do the trick. Therefore, I'm closing this as not a bug, although you should feel free to add any further comments or questions to this thread. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt vi

bug#21416: "--" syntax for ignoring flags doesn't seem to work right with GNU /bin/echo

2015-09-04 Thread Eric Blake
put another way, as a special case for the 'echo' utility, '--' shall be treated the same as any other argument, and always be output literally, rather than being recognized as the special elided end-of-options marker, because 'echo' does not understand options (at least when POSIX rules are in

bug#21416: "--" syntax for ignoring flags doesn't seem to work right with GNU /bin/echo

2015-09-04 Thread Eric Blake
On 09/04/2015 04:34 PM, Eric Blake wrote: > [As it is, bash has a bug: > $ (shopt -s xpg_echo; echo -e) > > should output '-e', but currently outputs nothing. Also, bash does not > quite treat POSIXLY_CORRECT=1 (also spelled 'set -o posix') as the > override to turn on ful

bug#21218: ls -d

2015-08-10 Thread Eric Blake
if there is no ambiguity, but use of getopt_long_only() is not recommended in new programs). -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

bug#21213: Fwd: crash in colcrt util-linux

2015-08-07 Thread Eric Blake
details. And if you do manage to report the bug correctly to the util-linux folks, I would suggest that you also let them know that 'colcrt --help' could be made more useful by displaying correct bug reporting information, the way all of the coreutils already do. -- Eric Blake eblake redhat com

bug#21218: ls -d

2015-08-07 Thread Eric Blake
slash can only match directories, and will therefore skip ordinary files. Or, you can use find: find mydir -mindepth 1 -maxdepth 2 -type d I'm closing this as not a bug as ls is working as designed, but feel free to ask further questions. -- Eric Blake eblake redhat com+1-919-301-3266

bug#21065: bug#21056: [BUG] Bug with dirname on Ubuntu

2015-07-16 Thread Eric Blake
the assumptions of the rest of dl*() that assume the name will not be changed. I stand by my assertion that the bug is in your invalid use of dirname(). -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital

bug#21051: direct/file deletion

2015-07-16 Thread Eric Blake
IMO all workarounds to cleanup . (inclusive dot-files) are just annoying. These work (but I agree that they are much longer to type) rm -rf -- * .??* .[!.] (except that has problems with command line length) find . \! -name . | xargs rm -rf -- Eric Blake eblake redhat com+1-919-301

bug#21065: Small bug in touch

2015-07-15 Thread Eric Blake
On 07/15/2015 10:36 AM, Eric Blake wrote: [resending without a signature - I didn't see my reply land at http://debbugs.gnu.org/21065, so I wonder if the list filters are accidentally eating GPG-signed mail again] Maybe I should have been more patient. Just after sending, I got all my messages

bug#21065: Small bug in touch

2015-07-15 Thread Eric Blake
[resending without a signature - I didn't see my reply land at http://debbugs.gnu.org/21065, so I wonder if the list filters are accidentally eating GPG-signed mail again] On 07/15/2015 09:31 AM, Eric Blake wrote: tag 21065 notabug thanks On 07/15/2015 07:25 AM, Rickard Norlander wrote

bug#21065: Small bug in touch

2015-07-15 Thread Eric Blake
On 07/15/2015 09:31 AM, Eric Blake wrote: tag 21065 notabug thanks On 07/15/2015 07:25 AM, Rickard Norlander wrote: touch version 8.23 Command: $ touch -- '-' Happens: Returns successfully, but no file is created (if file exists, timestamp is not updated) Like many other tools

bug#21065: Small bug in touch

2015-07-15 Thread Eric Blake
this FAQ: https://www.gnu.org/software/coreutils/faq/coreutils-faq.html#How-do-I-remove-files-that-start-with-a-dash_003f -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

bug#21056: [BUG] Bug with dirname on Ubuntu

2015-07-14 Thread Eric Blake
. So, I think it is a bug of dirname function. I hope this information is helpful. I'm looking forward to seeing a fix for this. The fix is not to libc's dirname(), but to your code for invalid usage of dirname(). -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization

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

2015-06-08 Thread Eric Blake
, with a complicated script language doing the right processing per field in a single pass, than to do one conversion per key per row. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

bug#20733: coreutils build problem

2015-06-05 Thread Eric Blake
in the generated configure file, then it is more likely to be in automake or autoconf. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

bug#20733: coreutils build problem

2015-06-05 Thread Eric Blake
generated Makefile.in files, and it should fix this issue. A fresh checkout rather than an incremental build would also work. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

bug#20733: coreutils build problem

2015-06-05 Thread Eric Blake
Makefile with the updated source? -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

bug#20733: coreutils build problem

2015-06-05 Thread Eric Blake
compilers. Are you sure that it is the right flag to be adding for the duration of this test? -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

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

2015-06-05 Thread Eric Blake
to the same address (for example, ::, ::0, and even ::0.0.0.0 are the same IPv6 address), so you'll need to consider how to do tie-breaking sorts of strings that map to the same address. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org

bug#20733: [PATCH] doc: mention 'for' syntax issue on older shells

2015-06-04 Thread Eric Blake
On 06/04/2015 02:59 PM, Eric Blake wrote: +good: + @@list='$(list)'; for arg in $$list; do echo $$arg; done [...] Another option is to use: for arg in $${-+$(list)}; do echo $$arg; done Furthermore, your suggestion mishandles a list with a bare }, whereas mine does not. make good

bug#20733: [PATCH] doc: mention 'for' syntax issue on older shells

2015-06-04 Thread Eric Blake
On 06/04/2015 02:36 PM, Stephane Chazelas wrote: 2015-06-04 14:06:03 -0600, Eric Blake: [...] +$ @kbd{cat Makefile} +list = +bad: +@@for arg in $(list); do echo $$arg; done +good: +@@list='$(list)'; for arg in $$list; do echo $$arg; done [...] Another option is to use

bug#20733: coreutils build problem

2015-06-04 Thread Eric Blake
between the var-name and 'do'. So yeah, it's not worth it. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

bug#20733: [PATCH] doc: mention 'for' syntax issue on older shells

2015-06-04 Thread Eric Blake
Based on a report by Michael Felt, via Paul Eggert on the coreutils list. * doc/autoconf.texi (Limitations of Builtins) for: Document problem with 'for var in ;'. Signed-off-by: Eric Blake ebl...@redhat.com --- doc/autoconf.texi | 34 ++ 1 file changed, 34

bug#20733: coreutils build problem

2015-06-04 Thread Eric Blake
: https://www.gnu.org/software/autoconf/manual/autoconf.html#Limitations-of-Builtins -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

bug#20733: coreutils build problem

2015-06-04 Thread Eric Blake
='$(single_binary_progs)'; \ for p in $$progs; do You can also use something that expands into a no-op shell word: for p in `` $(single_binary_progs); do -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description

bug#20729: true bugs

2015-06-03 Thread Eric Blake
for details about the options it supports. GNU coreutils online help: http://www.gnu.org/software/coreutils/ For complete documentation, run: info coreutils 'true invocation' As such, I'm closing this as not a bug, but feel free to add further comments. -- Eric Blake eblake redhat com+1-919-301

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

2015-05-11 Thread Eric Blake
'. printf(1) is a better option, though that will have different quoting again due to the % chars etc. % doesn't need quoting in shell. But yes, printf is more portable. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description

bug#20514: Patch to tie --help and --version behavior to POSIXLY_CORRECT

2015-05-06 Thread Eric Blake
if POSIXLY_CORRECT is not set). -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

bug#20514: Patch to tie --help and --version behavior to POSIXLY_CORRECT

2015-05-06 Thread Eric Blake
On 05/06/2015 10:13 AM, Eric Blake wrote: intentionally non-compliant behavior. If we make this change (and I'm 90-10 against changing anything at all), then: But the reason I'm against changing it is that checking an arbitrary string for empty content is SUCH a common operation

bug#20501: Include EINVAL in mkdir(2) man page

2015-05-04 Thread Eric Blake
as a documented error is not missed. So well-written code should never assume that only documented errors can be returned. -- Eric Blake eblake redhat com+1-919-301-3266 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

<    1   2   3   4   5   6   7   8   9   10   >