Re: "seq .1 .1" would mistakenly generate no output on FreeBSD 6.1

2007-11-18 Thread Paul Eggert
Jim Meyering wrote: > (gdb) p last > $4 = 0.1000135525271560688 > (gdb) p x > $5 = 0.155511151231257827 That's odd, since X was set via this assignment: x = first + i * step; and I is zero, which means X should equal FIRST, and (with "seq .1 .1") FIRST shou

Re: mv: Moving directories to "themselves" (not the bug with incorrect error message)

2007-11-18 Thread Bob Proulx
Michal Wencl wrote: > > As a followup, I'm pretty sure rsync already does what you are looking > > for, so why bloat mv to do something that can be done with another tool? > > I didn't study rsync deeply yet but I understand it as a copy > utility that temporarily takes filesystem space Rsync is

Re: ls: write error: Broken pipe

2007-11-18 Thread Dan Nicolaescu
Jim Meyering <[EMAIL PROTECTED]> writes: > Dan Nicolaescu <[EMAIL PROTECTED]> wrote: > > Jim Meyering <[EMAIL PROTECTED]> writes: > > > > > Dan Nicolaescu <[EMAIL PROTECTED]> wrote: > > > ... > > > > I created a new account with /bin/tcsh as a shell, deleted all the dot > >

Re: mv: Moving directories to "themselves" (not the bug with incorrect error message)

2007-11-18 Thread Michal Wencl
> As a followup, I'm pretty sure rsync already does what you are looking > for, so why bloat mv to do something that can be done with another tool? Thanks for a quick answer. I didn't study rsync deeply yet but I understand it as a copy utility that temporarily takes filesystem space and wears dow

Re: mv: Moving directories to "themselves" (not the bug with incorrect error message)

2007-11-18 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Eric Blake on 11/18/2007 6:20 AM: > >> Could you think about it, please? It would be great if at least a >> switch for it was added to mv (and other coreutils). > > What you appear to be wanting is a new option to mv, maybe spelled like

Re: mv: Moving directories to "themselves" (not the bug with incorrect error message)

2007-11-18 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Michal Wencl on 11/18/2007 3:16 AM: > mkdir -p a b/a > touch a/1 a/2 b/a/2 > move a b > > Current result: > > In my version of mv (5.97) the following error message is returned: Consider upgrading. The latest stable version of coreutil

mv: Moving directories to "themselves" (not the bug with incorrect error message)

2007-11-18 Thread Michal Wencl
Hi. I'm not sure if this is a bug, feature, todo, or a change request but I think the current behaviour is not expected for most people. At least not for those coming from Windows. My scenario: mkdir -p a b/a touch a/1 a/2 b/a/2 move a b Current result: In my version of mv (5.97) the following