bug#50691: pwd: options with "--" (multiple dashes) return bad option

2021-09-19 Thread L A Walsh
Try 'command pwd --version' On 2021/09/19 16:09, william wrote: coreutils version 8.32 The commands pwd --version and pwd --help return pwd: bad option: -v pwd: bad option: -h

bug#49994: upgrade: have "-s" of 'ls' display alloc'd sizes for specified "--block-size"

2021-08-20 Thread L A Walsh
On 2021/08/20 11:31, Paul Eggert wrote: On 8/20/21 10:40 AM, L A Walsh wrote: I wanted it just to work So use 'stat -c "%s %n"'. That works just fine. 'stat' is a good tool for this job, and there's no need for yet another 'ls' option

bug#49994: upgrade: have "-s" of 'ls' display alloc'd sizes for specified "--block-size"

2021-08-20 Thread L A Walsh
On 2021/08/20 08:08, Paul Eggert wrote: On 8/20/21 12:02 AM, L A Walsh wrote: When I use "-b" in du (equivalent to '--apparent-size --block-size=1) Previously in this thread you asked for "allocated space for a file on a device", which is why I was talking about

bug#49994: upgrade: have "-s" of 'ls' display alloc'd sizes for specified "--block-size"

2021-08-20 Thread L A Walsh
On 2021/08/18 08:39, Paul Eggert wrote: Perhaps your request would be more clear if you gave a specific example of what you want and why --block-size doesn't do what you want. I wanted to use ls to list the size of files in bytes, and use Binary prefixes K=1024, M=1024**2, G=1024**3 to

bug#49994: upgrade: have "-s" of 'ls' display alloc'd sizes for specified "--block-size"

2021-08-17 Thread L A Walsh
On 2021/08/17 16:00, Paul Eggert wrote: That's different from displaying the size that would have been allocated on a device with a block size of 1 byte. 'du' can't do what you requested, any more than 'ls' can. However you want to phrase it, with: --block-size=SIZE I want to have

bug#49994: upgrade: have "-s" of 'ls' display alloc'd sizes for specified "--block-size"

2021-08-17 Thread L A Walsh
On 2021/08/15 21:36, Paul Eggert wrote: On 8/15/21 9:26 PM, L A Walsh wrote: I don't want to display the allocated size on the current device, but the size that would be allocated on a device with block-size=1-byte. There's no practical way for 'ls' to calculate

bug#49994: upgrade: have "-s" of 'ls' display alloc'd sizes for specified "--block-size"

2021-08-15 Thread L A Walsh
On 2021/08/15 21:00, Paul Eggert wrote: On 8/15/21 4:13 PM, L A Walsh wrote: Hmm... for libc.so, ls -l shows 253 bytes for -s, it shows '4' and w/block-size=1, it shows 4096... Right. That is, those numbers look right. But I'm specifying a block size of 1 byt

bug#49994: upgrade: have "-s" of 'ls' display alloc'd sizes for specified "--block-size"

2021-08-15 Thread L A Walsh
n 2021/08/11 00:40, Paul Eggert wrote: On 8/10/21 11:56 PM, L A Walsh wrote: Perhaps the '-s' option in ls could pay attention to the user-specified block-size? Doesn't it already do that? $ ls -s libc.so 12192 libc.so $ ls -s --block-size=1 libc.so 12484608 libc.so On 2021/08/1

bug#49994: upgrade: have "-s" of 'ls' display alloc'd sizes for specified "--block-size"

2021-08-11 Thread L A Walsh
How can I find all perl source files under the perl source tree sorted by size + displayed w/binary-metric prefixes. I wanted to look for a good sample for _some_ specific size (not sure of the size until I'd looked through a few). I got close using: find -iname \*.pl |sed 's!./!!' |xargs /usr

bug#49428: RFE: for --time have option to only include contents, not dir itself.

2021-07-05 Thread L A Walsh
First stab at a script is really slow... find dirs, then find all files in the dir: There's gotta be a faster way...ug! lastt=1 shopt -s lastpipe find "$1" -depth -type d | while read dr;do t=$(find "$dr" -xdev -maxdepth 1 -mindepth 1 ! -name . -a ! -name .. -printf "%T@\n" | cut

bug#49428: RFE: for --time have option to only include contents, not dir itself.

2021-07-05 Thread L A Walsh
I did a re-install-in-place on windows that reset the dirtimes on all the dirs to the date I did the re-inst. As a partial recovery, I want to be able to reset the date to the time of the last modified file in the dir. I thought to use: du -s --time DIR but it's not just showing (from manpag

bug#49298: [PATCH] df: do not print duplicated entires with NFS and bind mounts

2021-07-01 Thread L A Walsh
On 2021/06/30 08:53, Kamil Dudka wrote: The proposed patch makes sure that the devlist entry seen the last time is used for comparison when eliminating duplicated mount entries. --- I'm a bit surprised that the devlists exported for NFS are the same as for smb. How is that guaranteed? But m

bug#48960: stat v8.30 - device number in decimal shown as 16bit number instead of to converted 8bit

2021-06-11 Thread L A Walsh
On 2021/06/11 00:37, Wolfgang Rohm wrote: Hello. Stat prints the device number, major and minor, in hex and decimal. They are both 8bit numbers clamped together. While the hex number is perfectly fine, the decimal doesn't respect how this number has come to existence. There is no meaning in t

bug#47703: Same category as "ln " (was: bug#47703: Mention if ln -s needs -r, or ln -r needs -s)

2021-04-29 Thread L A Walsh
On 2021/04/11 07:21, Pádraig Brady wrote: On 09/04/2021 12:46, 積丹尼 Dan Jacobson wrote: man ln says: -r, --relative create symbolic links relative to link location -s, --symbolic make symbolic links instead of hard links Hard to tell from the man page

bug#48002: Gnu design flaw fixes hindered by Gnu (sexism?) biases

2021-04-24 Thread L A Walsh
On 2021/04/21 19:11, Paul Eggert wrote: On 4/18/21 10:46 AM, Peter van Dijk wrote: While the manual (but not the manpage) mentions the data loss, I think it would be great if sort did not have this problem at all, and I think the OpenGroup text also says it should not have this problem. I loo

bug#47324: Missing information in documentation

2021-03-25 Thread L A Walsh
On 2021/03/25 08:36, Glenn Golden wrote: Perl's perldoc(1) is more or less analogous in spirit to GNU's approach based on info(1). The man pages contain quite a bit of useful info, but do not purport to be exhaustive. = On 2021/03/25 08:05, Paul Eggert wrote: Most free-software proj

bug#47324: Missing information in documentation

2021-03-25 Thread L A Walsh
On 2021/03/22 15:21, Bernhard Voelker wrote: According to the GNU guidelines and to avoid double work, the man page of the coreutils is essentially not much more than the output of --help. --- It sure would be nice if GNU would join the *nix family and put full documentation in the manpag

bug#47353: Numbered backups also need kept-new-versions else will grow out of control

2021-03-25 Thread L A Walsh
On 2021/03/23 16:43, Dan Jacobson wrote: Or (info "(coreutils) Backup options") should "admit" that "Numbered backups need to be trimmed occasionally by the user, lest the fill up the disk." --- Perhaps a scheme, similar, or duplicating that in logrotate would be useful where older versions c

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

2021-03-11 Thread L A Walsh
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 immediately returns Y & Z are "too large". Why are those suffixes listed as vali

bug#47059: (bug in cp removing destination file when it can't be replaced due to cross-volume linking)

2021-03-11 Thread L A Walsh
Did anyone see this? Usually someone says something like confirming it or asking for more info. Is this a known bug and/or has it been seen before? (slightly cleaned up report below) Thanks! On 2021/03/10 13:41, L A Walsh wrote: Was trying to save disk space by linking duplicate files, in a

bug#47023: df utilility displays G instead of GM as unit size for Gigabytes in power of 1000

2021-03-10 Thread L A Walsh
On 2021/03/10 15:21, Paul Eggert wrote: Although his email did reencode those names into ISO 8859-1 which is more likely to cause problems than cure them these days, it still displays well on my MUA (Thunderbird) because its header said "Content-Type: text/plain; charset=iso-8859-1". His ema

bug#47023: df utilility displays G instead of GM as unit size for Gigabytes in power of 1000

2021-03-10 Thread L A Walsh
On 2021/03/10 14:09, Glenn Golden wrote: Second, minor, side rant: Would be nice if more attention was paid to fixing mailers encoding "Pádraig" and "Bénézech" as "P�draig" and "B�n�zech" If you see substitute encodings like that, it strongly suggests the problem is your MUA, not mi

bug#47059: bug in cp removing destination file when it can't be replaced due to cross-volume linking

2021-03-10 Thread L A Walsh
Was trying to save disk space by linking duplicate files, in a dir. FWIW, my 'cp', is aliased to 'cp --preserve=all' for f in Roboto*.ttf;do cp -l /usr/share/fonts/TTF/$f . done cp: cannot create hard link './Roboto-Bold.ttf' to '/usr/share/fonts/TTF/Roboto-Bold.ttf': Invalid cross-device

bug#47023: df utilility displays G instead of GM as unit size for Gigabytes in power of 1000

2021-03-10 Thread L A Walsh
On 2021/03/10 06:50, Glenn Golden wrote: Pádraig, Philippe, Paul - Pádraig Brady [Tue, 9 Mar 2021 19:51:45 +]: On 09/03/2021 12:58, Philippe Bénézech via GNU coreutils Bug Reports wrote: Dear maintener, I found a reproducible bug in df utility, installed in debian stable $ df --version

bug#47014: Design flaw: incompatible touch '-f' gnu-option causes loss of (meta)data by default

2021-03-09 Thread L A Walsh
On 2021/03/08 19:58, Paul Eggert wrote: On 3/8/21 6:29 PM, L A Walsh wrote: Warning, '-f' assuming '-r' was intended I don't think that'd be helpful, given that -f now has a well-defined and common meaning that doesn't agree with what you remember,

bug#47014: Design flaw: incompatible touch '-f' gnu-option causes loss of (meta)data by default

2021-03-08 Thread L A Walsh
On 2021/03/08 18:04, Paul Eggert wrote: I don't know which version of touch I remember it from as I've use a few versions of unix, as in (scratching memory): some form of SCO Unix on Intel chips (early 80's, pre IBM-PC), HPUX, Sun Unix(a BSD variant), SunOS (a SysV variant), IRIX(sgi), among

bug#47014: Design flaw: incompatible touch '-f' gnu-option causes loss of (meta)data by default

2021-03-08 Thread L A Walsh
On 2021/03/08 18:04, Paul Eggert wrote: On 3/8/21 5:50 PM, L A Walsh wrote: Data loss shown in original bug submission. As mentioned/documented it was use of: 'touch -f ' Sure, but what was the context of that command? Was it part of a shell script? What was the script for?

bug#47014: Design flaw: incompatible touch '-f' gnu-option causes loss of (meta)data by default

2021-03-08 Thread L A Walsh
On 2021/03/08 16:07, Paul Eggert wrote: On 3/8/21 3:27 PM, L A Walsh wrote: gnu accepts but ignores the previously active '-f'(from) switch GNU "touch -f" has always been a no-op and has never meant "from" as far as I know - though I admit I looked bac

bug#47014: Design flaw: incompatible touch '-f' gnu-option causes loss of (meta)data by default

2021-03-08 Thread L A Walsh
gnu accepts but ignores the previously active '-f'(from) switch and replaced it with '-r' to be compatible with posix, likely, but created a meta-data loss case in that if someone uses it: ll foo bar -rw-rw-r-- 1 0 Mar 8 14:33 bar -rw-rw-r-- 1 0 Dec 10 2012 foo Want to transfer D/T from foo

bug#45924: RFE: rmdir -r: recursively remove [empty] directories under the target.

2021-01-18 Thread L A Walsh
On 2021/01/18 08:08, Bernhard Voelker wrote: find(1) can also ... [various examples of find's usefulness elided] Have a nice day, Berny === As I stated in the original message: On 2021/01/16 16:29, L A Walsh wrote: Yes, you could do it some other way, like by using '

bug#45924: RFE: rmdir -r: recursively remove [empty] directories under the target.

2021-01-18 Thread L A Walsh
gned as tools to aid, assist, simplify and empower those who use such tools. On 2021/01/17 14:18, Paul Eggert wrote: On 1/16/21 4:29 PM, L A Walsh wrote: Yes, you could do it some other way, like by using 'find' That's what I'd do, yes. 'find DIR -depth -type d -e

bug#45924: RFE: rmdir -r: recursively remove [empty] directories under the target.

2021-01-16 Thread L A Walsh
Every once in a while, I want to remove what I believe to be an empty directory tree, safely. I wondered, why not have rmdir have a recursive option that would remove all directories under a given directory, presuming they were empty. That way I can try to remove the tree, removing what it can,

bug#44444: RFE for 'env'?

2020-11-05 Thread L A Walsh
Ah...so what I asked for has already been added in a newer version. I seem to have > env --version env (GNU coreutils) 8.26.18-5e871 What version of env should I try and test? Thanks! On 2020/11/04 08:09, Erik Auerswald wrote: Please see https://www.gnu.org/software/coreutils/manual/html_no

bug#44444: RFE for 'env'?

2020-11-04 Thread L A Walsh
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 tried to use 'env' to find perl in my path and wanted to pass the -T

bug#44412: RFE for 'env'?

2020-11-03 Thread L A Walsh
On 2020/11/03 04:29, Bernhard Voelker wrote: As you didn't give an example, it's hard for me to imagine what you want to achieve, or better why current 'env' would "dislike it". --- I tried to use 'env' to find perl in my path and wanted to pass the -T option to perl. /usr/bin/env p

bug#44412: RFE for 'env'?

2020-11-03 Thread L A Walsh
I wanted to pass a switch to an interp line, but 'env' seems to dislike it. I also noticed that env ignores '--' to indicate end of switches that it should process. How difficult would this be to do? Specifically, allow double-dash ("--") to indicate the end of 'env' switches such that any fol

bug#42358: mv w/mkdir -p of destination

2020-07-14 Thread L A Walsh
Yeah, I'd thought about asking for this as well, like as maybe a "rmdir -r" or rmdir -rp where either the want of recursion implied going up to ancestors (since decending along a chain of directories would be a bit indeterminent, or requiring a redundant '-p', as well, as it would tell the program

bug#42034: option to truncate at end or should that be default?

2020-06-24 Thread L A Walsh
I think that would work in my specific use case. I can think of other use cases that it probably wouldn't, but I'm not going to worry about those right now. :-) Thanks! -l On Wed, Jun 24, 2020 at 1:07 PM Andreas Schwab wrote: > On Jun 24 2020, L A Walsh wrote: > > >

bug#42034: option to truncate at end or should that be default?

2020-06-24 Thread L A Walsh
I allocated a large file of contiguous space (~3.6T), the size of a disk image I was going to copy into it with 'dd'. I have the disk image 'overwrite' the existing file, in place using "conv=nocreat,notrunc" (among other switches) and that works with the final file still using max-sized 8GB exten

bug#39827: [PATCH] dircolors: add *direct* to TERM matching

2020-02-28 Thread L A Walsh
xterm-TrueColor and xterm-24bit I've heard of, but direct? Isn't that a direct serial line connection? But suffice it to say, I haven't seen any _concensus_ on a name or terminal-name for that feature. Certainly TrueColor or 24-bit (or maybe 32) would be more descriptive that something used for

bug#37686: Feature request: flag to not remove any files if any argument doesn't exist or is a directory

2019-10-14 Thread L A Walsh
On 2019/10/09 14:01, Mark Friedenbach wrote: > I have a persistent problem that has caused me serious trouble in the > past: I mixup 'rm' and 'mv'. I suspect this is because on my keyboard > they are typed with the same fingers and muscle memory kicks in, > especially if I just typed the other comm

bug#37702: Suggestion for 'df' utility

2019-10-14 Thread L A Walsh
On 2019/10/11 12:56, 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 option doesn't make any difference. > -- I'd sugges

bug#37241: large performance gap when start+inc specified with 'seq'

2019-09-04 Thread L A Walsh
On 2019/09/03 18:51, Pádraig Brady wrote: > Yes we could be better here. > Attached is a fairly simple improvement: > > $ time seq.new 1 1 1e8 >/dev/null > real 0m1.516s > > $ time seq.new 1 2 1e8 >/dev/null > real 0m0.834s > > $ time seq.orig 1 2 1e8 >/dev/null > real 0m40.435s > > It mi

bug#37241: large performance gap when start+inc specified with 'seq'

2019-08-30 Thread L A Walsh
Was looking at some large sequences and the time they took and found that while end-point only was fast: declare -x TIMEFORMAT="%2Rsec %2Uusr %2Ssys (%P%% cpu)" > time seq 1e8 >/dev/null 0.75sec 0.74usr 0.01sys (99.77% cpu) Trying just to generate only odd numbers: > time seq 1 2 1e8 >/dev/null

bug#36901: Enhance directory and file moves where target already exists

2019-08-02 Thread L A Walsh
On 2019/08/02 23:10, Assaf Gordon wrote: So when I look at the system call on linux for rename: oldpath can specify a directory. In this case, newpath must either not exist, or it must specify an empty directory. (complying with POSIX_C

bug#36901: Enhance directory and file moves where target already exists

2019-08-02 Thread L A Walsh
diverged at https://bugs.gnu.org/36831#38 ) > > For completeness, quoting your second message ( from > https://bugs.gnu.org/36831#50 ): > > On 2019-08-02 9:56 p.m., L A Walsh wrote: >> On 2019/08/02 19:47, Assaf Gordon wrote: >>> Can new merging features be added to &#x

bug#36831: Enhance directory move. (was Re: bug#36831: enhance 'directory not empty' message)

2019-08-02 Thread L A Walsh
On 2019/08/02 19:47, Assaf Gordon wrote: > Can new merging features be added to 'mv'? yes. > But it seems to me these would be better suited for 'higher level' > programs (e.g. a GUI file manager). --- But neither the person who posted the original bug on this nor I are using a GUI, we a

bug#36901: Enhance directory and file moves where target already exists

2019-08-02 Thread L A Walsh
Reposting this, since I realize that fixing the target-exists cases with a helpful algorithm could change or eliminate many cases where where now the user gets an error instead. On 2019/07/28 23:28, Assaf Gordon wrote: > > > $ mkdir A B B/A > $ touch A/bar B/A/foo > $ mv A B > m

bug#36887: coreutils-8.31: printf chokes on \u0041

2019-08-02 Thread L A Walsh
On 2019/08/01 16:37, Paul Eggert wrote: > Ulrich Mueller wrote: > >> Except for the surrogates >> U+D800...U+DFFF, it looks like an arbitrary restriction >> > > It's not entirely arbitrary. Because of the restriction, coreutils printf > doesn't have to worry about what this command should

bug#36831: Enhance directory move. (was Re: bug#36831: enhance 'directory not empty' message)

2019-08-02 Thread L A Walsh
On 2019/07/28 23:28, Assaf Gordon wrote: > > > $ mkdir A B B/A > $ touch A/bar B/A/foo > $ mv A B > mv: cannot move 'A' to 'B/A': Directory not empty > > And the reason (as you've found out) is that the target directory 'B/A' > is not empty (has the 'foo' file in it). > Had this bee

bug#36688: uname no longer accessing hw-platform nor cpu (not updated to use primary info source)

2019-07-16 Thread L A Walsh
This is a bit weird, as the hw-platform, apparently is i386 or i686, not sure, but the cpu is definitely accessible in /proc/cpuinfo. The following text is from the sysctl call in the kernel help text for the option: CONFIG_SYSCTL_SYSCALL: sys_sysctl uses binary paths that have been found ch

bug#36666: Minor bug/inconsistency in ls command

2019-07-16 Thread L A Walsh
On 2019/07/15 00:01, hoffelm...@gmail.com wrote: > Hi, > > I am using ls from the cureutils 8.31 on arch linux (5.2.0 x86_64) and > think it has a bug/inconsistant in printing an file type indicator (-F) > while using the long listing format (-l). > > > If I use `ls -F ~` I get the following outpu

bug#36416: realpath doesn't preserve '..' consistently as per POSIX, nor '/.'

2019-06-29 Thread L A Walsh
On 2019/06/28 12:02, Eric Blake wrote: > If your application layer is on top of Linux, then yes, the underlying > OS guarantees that your application processing a path beginning with > "//" is correct whether it preserves or shortens that path to "/". Linux doesn't forever guarantee

bug#36416: realpath doesn't preserve '..' consistently as per POSIX, nor '/.'

2019-06-28 Thread L A Walsh
real bugs that came back and bit the project hard, including bugs that were closed out because I hadn't sent them through cygwin's list first when I knew they were not bugs in cygwin. On 2019/06/28 08:38, Eric Blake wrote: > tag ### notabug > thanks > > On 6/28/19 6:11 AM,

bug#36416: realpath doesn't preserve '//' in -m mode

2019-06-28 Thread L A Walsh
realpath -m //sysname/rootdir/. returns "/sysname/rootdir" This is incorrect, according to POSIX. and #3-4 have specific meanings in various applications that in usage. 1) leading double slashes are to be preserved My Notes: in combining paths like pathcat(//, sys, /a) => should get //s

bug#35531: problem with ls in coreutils

2019-05-03 Thread L A Walsh
On 5/1/2019 3:03 PM, Viktors Berstis wrote: > When running "ls" or "ls -U" on a windows directory containing 5 > files, ls takes forever. Something seems to be highly inefficient in there. > --- it sounds like you are running ls with no options (nothing in environment and no switches o

bug#35488: Feature du --files-only request

2019-05-02 Thread L A Walsh
On 4/29/2019 4:36 AM, David Ellenberger wrote: > Dear maintainers > > I understand that admins have become accustomed to see 4096 in directories > as it's consistent with the ls command and the technicality behind it. > --- Except that it isn't 4096 on all file systems. For empty directorie

bug#35343: sort: printing characters: define

2019-04-25 Thread L A Walsh
On 4/20/2019 6:54 AM, 積丹尼 Dan Jacobson wrote: > (info "(coreutils) sort invocation") says > > ‘-i’ > ‘--ignore-nonprinting’ > Ignore nonprinting characters. The ‘LC_CTYPE’ locale determines > character types... > @ location: https://pubs.opengroup.org/onlinepubs/9699919799.

bug#35212: problem docs vs. implementation

2019-04-09 Thread L A Walsh
My console becomes 121 characters wide when I turn on unicode, but stty says it is 132 characters. Looking at the stty manpage, I see: Special settings: ... * cols N tell the kernel that the terminal has N columns * columns N same as cols N --- I thought

bug#35109: date 'tomorrow' bug

2019-04-02 Thread L A Walsh
On 4/2/2019 6:23 AM, Maximilian Gleißner wrote: > Hi, > > I have encountered a possible bug with the date function using both SuSE > LEAP 15.0 and SuSE 10.2. > This bug occurs when asking date for 'tomorrow' when there is a daylight > saving timechange. > > Note: The machine is located in the GMT

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

2019-03-03 Thread L A Walsh
On 3/3/2019 4:43 AM, Erik Auerswald wrote: > 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

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

2019-03-03 Thread L A Walsh
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. I don't remember the last time I used chmod -w

bug#12400: rmdir runs "amok", users "curse" GNU...(as rmdir has no option to stay on 1 file system)...

2019-02-26 Thread L A Walsh
On 2/26/2019 12:10 PM, Bob Proulx wrote: >> rm -fr --one-filesystem foo/. or >> cd foo && rm -fr --one-filesystem . > > rm: refusing to remove '.' or '..' directory: skipping '.' > > I agree with your complaint about "rm -rf ." not working. That is an > annoying nanny-state restriction. I

bug#12400: rmdir runs "amok", users "curse" GNU...(as rmdir has no option to stay on 1 file system)...

2019-02-11 Thread L A Walsh
On 2/10/2019 1:52 PM, Bob Proulx wrote: > L A Walsh wrote: >>>> If you want a recursive option why not use 'rm -rf'? >> rmdir already provides a recursive delete that can cross >> file system boundaries > > Please provide an example. Something small

bug#12400: rmdir runs "amok", users "curse" GNU...(as rmdir has no option to stay on 1 file system)...

2019-02-10 Thread L A Walsh
On 2/10/2019 1:52 PM, Bob Proulx wrote: > L A Walsh wrote: >>>> If you want a recursive option why not use 'rm -rf'? >> rmdir already provides a recursive delete that can cross >> file system boundaries > > Please provide an example. Something small

bug#34345: coreutils v.8.30 – Two fractional digits accuracy. Appropriate notation regarding time elapsed.

2019-02-06 Thread L A Walsh
On 2/6/2019 1:36 AM, Ricky Tigg wrote: > Enhancements request > Hi. Command executed: > > >- Could values reported at '(8.0 GB, 7.5 GiB)' be displayed using a two >fractional digits accuracy (model 1.23 GiB). > Nah Implies more accuracy than there is. Use 2-3 digit

bug#12400: rmdir runs "amok", users "curse" GNU...(as rmdir has no option to stay on 1 file system)...

2019-02-05 Thread L A Walsh
On 1/18/2019 12:32 AM, Assaf Gordon wrote: > retitle 12400 rmdir: add --one-file-system option > severity 12400 wishlist > tags 12400 wontfix > stop > >> If you want a recursive option why not use 'rm -rf'? >> - rmdir already provides a recursive delete that can cross file system bounda

bug#34340: cp -a doesn't copy acls

2019-02-05 Thread L A Walsh
and it is not on the manpage, but tar copies acls and has them on the manpage. It guess it is an oversite that cp copies over 'xattrs' but not acls?

bug#15328: Bug or dubious feature?

2019-01-19 Thread L A Walsh
On 1/11/2019 1:20 AM, Assaf Gordon wrote: > tags 15328 notabug > close 15328 > stop > > Hello, > > On 2013-09-10 3:01 p.m., Linda Walsh wrote: >> Whatever the problem is, it's not in 'mv'... > > Given the above, and no further comments in 5 years, > I'm closing this item. There w

bug#33787: Policy Change: Use of /etc/gnu.conf files to configure default system behavior

2018-12-31 Thread L A Walsh
On 12/31/2018 4:23 AM, Assaf Gordon wrote: Hello, On 2018-12-31 4:36 a.m., L A Walsh wrote: On 12/20/2018 5:21 PM, Assaf Gordon wrote: If there was an "rm --depth-first" feature, --- If you would ensure that this is possible, you would have my gratitude. There seem

bug#33787: Policy Change: Use of /etc/gnu.conf files to configure default system behavior

2018-12-31 Thread L A Walsh
On 12/20/2018 5:21 PM, Assaf Gordon wrote: For example, If there was an "rm --depth-first" feature, you could enable it easily with "alias" - right? --- If you would ensure that this is possible, you would have my gratitude. However, it is not the case. The algorithm USED to be dept

bug#33787: Policy Change: Use of /etc/gnu.conf files to configure default system behavior

2018-12-23 Thread L A Walsh
On 12/23/2018 5:46 PM, Paul Eggert wrote: Similarly with 'find' "find" is not part of coreutils, and discussion of it should be moved to a separate bug report, which you can create by emailing bug-findut...@gnu.org. If you were discussing whether or not each each county or province i

bug#33787: Policy Change: Use of /etc/gnu.conf files to configure default system behavior

2018-12-20 Thread L A Walsh
On 12/20/2018 5:21 PM, Assaf Gordon wrote: If you are requesting such features (or others) It's best to start a new thread for each topic. They've already been discussed and ignored because there was no way to add the feature for a default behavior other than ENV vars or a config, both

bug#33787: Policy Change: Use of /etc/gnu.conf files to configure default system behavior

2018-12-20 Thread L A Walsh
Features where their non inclusion was unable to be met due to pre-existing usage and where using or allowing behavior change based on ENV vars was disallowed due to new gnu policies to minimize usage of ENV vars. At the time config files were mentioned as a possible solution but at the time I wa

bug#33787: Policy Change: Use of /etc/gnu.conf files to configure default system behavior

2018-12-20 Thread L A Walsh
The below methods cannot alter or fix the problems that require a configuration file. Example: have 'rm -fr .' do a depth first removal and not pre-inspect any argument before its children. Whether or not to expand tabs in output so that output to a terminal that doesn't have tabstops every 8

bug#33787: Policy Change: Use of /etc/gnu.conf files to configure default system behavior

2018-12-20 Thread L A Walsh
'gnu.conf', so that users can know to pay attention to it. Notice I'm naming it 'gnu.conf' and not coreutils.conf -- I'm not intending this to be limited to coreutils. On 12/20/2018 1:59 PM, Paul Eggert wrote: On 12/17/18 11:12 PM, L A Walsh wrote: I find th

bug#33786: Bug: undocumented feature (algorithm) for version-sort (include on manpage)

2018-12-18 Thread L A Walsh
I wouldn't consider debian to be a standards organization. Perhaps they should get their version sort adopted by POSIX? But having algorithms that read: use ascii sort for this field if after a character in this list []. but use numeric sort for this field if after this list []. but use an inde

bug#33786: Bug: undocumented feature (algorithm) for version-sort (include on manpage)

2018-12-18 Thread L A Walsh
So undocumented features are considered wishlist items in Gnu? On 12/18/2018 12:04 AM, Assaf Gordon wrote: tags 33786 notabug severity 33786 wishlist retitle 33786 doc: sort: document Debian's version-sort algorithm stop Hello, On 2018-12-18 12:11 a.m., L A Walsh wrote: meaning th

bug#33787: Policy Change: Use of /etc/gnu.conf files to configure default system behavior

2018-12-17 Thread L A Walsh
Over the past few years I have has for the ability to set defaults for my system regarding various behaviors in coreutil programs. Some of the these behaviors have been regulated via ENV vars in the past, but I was told that this was not desirable as gnu was trying to get away from using ENV vars

bug#33786: Bug: undocumented feature (algorithm) for version-sort (include on manpage)

2018-12-17 Thread L A Walsh
Recently there was some discussion on inconsistencies in how version sort worked and some people *basically*, said: "it's not our fault, it's Debian's algorithm, you wanna change it, convince them." Um...fine. Except that it is a Gnu tool, not a Debian tool, meaning that if one is going to

bug#33303: prob no. thirty-three thousand, three-hundred & three: hex id for file system is incorrect

2018-11-29 Thread L A Walsh
The reason I was confused about the output -- is that it really is messed up. (3-3-3-0-3) On 11/8/2018 6:19 AM, Bernhard Voelker wrote: On 11/8/18 11:53 AM, L A Walsh wrote: Both should be %i for the file system ID in hex. How is it that the fs ID is the same as the device number of the

bug#18168: Bug in "sort -V" ?

2018-11-20 Thread L A Walsh
On 11/6/2018 10:48 AM, Assaf Gordon wrote: On 2014-08-01 3:38 a.m., Schleusener, Jens wrote: I am not sure if it's a bug or not but for my application cases the "sort" command with use of the very helpful option "-V" (natural sort of (version) numbers within text) not always delivers the by

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

2018-11-18 Thread L A Walsh
On 11/14/2018 12:27 AM, Erik Auerswald wrote: 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 a

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

2018-11-14 Thread L A Walsh
On 11/13/2018 6:44 PM, Eric Blake wrote: On 11/13/18 8:32 PM, 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. It would be nice if sort had the option to i

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

2018-11-13 Thread L A Walsh
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. It would be nice if sort had the option to ignore non-numeric data and only sort on the numeric data in the 'lines'/'files'. Yeah, I can

bug#33303: hex id for file system is incorrect or non-standard using uil 'id'

2018-11-08 Thread L A Walsh
On 11/7/2018 11:22 AM, Bernhard Voelker wrote: On 11/7/18 5:07 PM, L A Walsh wrote: Was looking to see when the underlying filesystem changed in a path. I used: stat -f -c%f / 821 stat -f -c%i /var 822 sorry, I overlooked the %i example: --- Both should be %i

bug#33303: hex id for file system is incorrect or non-standard using uil 'id'

2018-11-07 Thread L A Walsh
Was looking to see when the underlying filesystem changed in a path. I used: stat -f -c%f / 821 stat -f -c%i /var 822 There are way too many zeros, not to mention being left justfied with zeros. What I might expect to see is more like this: 821 or 822 mountpoint -d shows the

bug#33155: rfe? cp from symlink -> to symlink? cp symlink meta-info(target) with "-a"? (vs. no diagnostic)

2018-10-25 Thread L A Walsh
Created following test dir (as seen by tree) in /tmp tree mybin Ishtar:/tmp> tree mybin mybin ├── iptool -> alt-tool #broken link ├── iptool-restore -> iptool #broken link ├── iptool-save -> iptool #broken link └── usr └── mybin ├── alt-tool ├── iptool -> alt-t

bug#32272: [PATCH] iscntrl: behavior for chars >= 0x80

2018-07-25 Thread L A Walsh
Pádraig Brady wrote: +This function does not support arguments outside of the range of the +unsigned char type in locales with large character sets, on some platforms. +OS X 10.5 will return non zero for characters >= 0x80 in UTF-8 locales. --- According to Unicode, characters 0x80-0x9F ar

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

2018-07-18 Thread L A Walsh
Michael Stone wrote: Or, they expect the traditional behavior, which is that requesting a link which can't be created will result in failure. You seem to completely disregard the possibility that any script written in 40 years might use that behavior in its logic, while I find it extremely

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

2018-07-18 Thread L A Walsh
Mike Hodson wrote: I wager that some people *aren't* aware that you cannot hardlink a directory If they don't know why, they probably don't know the difference between hard and soft links to files -- and will *then* be annoyed that linking doesn't work. *THEN*, they will your "

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

2018-07-18 Thread L A Walsh
Michael Stone wrote: On Tue, Jul 17, 2018 at 02:15:14PM -0700, L A Walsh wrote: I can't think of a similar failure mode that I'd want a hard link created Yes, you've made that clear --- I think you are making it clear that you didn't understand what I said an

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

2018-07-17 Thread L A Walsh
Michael Stone wrote: On Tue, Jul 17, 2018 at 01:25:59AM -0700, L A Walsh wrote: I am not suggesting handing out alternates when you have a choice. I'm suggesting doing something useful in a case where there are no alternates and no downsides. If you can come up with a case wh

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

2018-07-17 Thread L A Walsh
Bernhard Voelker wrote: I disagree here: some people are not that familiar with the differences between symlinks and hardlinks, okay, but the consequences for using either type may be quite dramatic later on. I am not suggesting handing out alternates when you have a choice. I

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

2018-07-14 Thread L A Walsh
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 not just go ahead and create a symlink The user didn't ask for a symlink, User didn't ask for a physica

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

2018-07-13 Thread L A Walsh
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 not just go ahead and create a symlink The user didn't ask for a symlink, and it sounds unwise for ln to be

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

2018-07-13 Thread L A Walsh
Original Message Subject: bug#32127: RFE -- in the way "cp -rl" -- enable 'ln' to do likewise? Resent-Date:Thu, 12 Jul 2018 07:17:02 +0000 Resent-From:L A Walsh Resent-CC: bug-coreutils@gnu.org Date: Thu, 12 Jul 2018 00:16:50 -0700 F

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

2018-07-12 Thread L A Walsh
Paul Eggert wrote: L A Walsh wrote: Like I'll want an "RCS" dir to point to 1 RCS tree -- so I try to use ln . ln, of course seems to think I want the impossible -- and says you can't have hard-linked directories. You can use "ln -s" instead of plain &qu

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

2018-07-11 Thread L A Walsh
If one does a 'cp -rl' -- one gets a coyp of the tree...sorta, with file hardlinked, and with directories getting their own set of inodes because: can't be hardlinked -- so no hardlinking (even if worked, wouldn't make a separate copy) && can't have softlinked dirs, as to softlink something, you n

bug#30928: no error val returned by 'nice' failure?

2018-03-24 Thread L A Walsh
Paul Eggert wrote: L A Walsh wrote: how do you tell if the resetting of the priority worked or failed? I guess you're supposed to look at stderr, which is what you did. This is the way 'nice' has behaved for quite some time, and it's what POSIX specifies. We'd n

  1   2   >