Re: mv feature request: -z swap files

2009-02-03 Thread Jim Meyering
TL Mieszkowski wrote: > I've needed to swap two filenames more than once, > but no UNIX program I can find does it. > > The patch I've included works on two regular files, > one regular file and a directory, but if you provide two > directories or 1 directory first it trashes the first directory.

Re: Bugs in unexpand(1) version 6.10

2009-02-03 Thread Jim Meyering
Mike Frysinger wrote: > On Friday 23 January 2009 09:35:54 Pádraig Brady wrote: >> What distribution are you using (I'm guessing Fedora 10). >> Distributions that patch coreutils really should >> modify the version string accordingly. > > if coreutils wants distros to do that, it should really fac

Re: [PATCH] stdbuf work in progress

2009-02-03 Thread Pádraig Brady
Jim Meyering wrote: > Pádraig Brady wrote: >> I've started to work on the stdbuf util referenced in this thread: >> http://lists.gnu.org/archive/html/bug-coreutils/2008-11/threads.html#00134 >> I've a few questions... > > Hi Pádraig, > > Thanks for writing/posting that. > >> The main one is sho

Re: [PATCH] stdbuf work in progress

2009-02-03 Thread Jim Meyering
Pádraig Brady wrote: > I've started to work on the stdbuf util referenced in this thread: > http://lists.gnu.org/archive/html/bug-coreutils/2008-11/threads.html#00134 > I've a few questions... Hi Pádraig, Thanks for writing/posting that. > The main one is should I introduce a dependency on libt

Re: sort "b" option in pos2 has strange effect

2009-02-03 Thread Pádraig Brady
Pádraig Brady wrote: > Davide Canova wrote: >> $ sort -k 1b,1b #1 >> a x >> a y >> a z >> ^D >> a z >> a y >> a x >> >> $ sort -k 1b,1.0b #2 >> a x >> a y >> a z >> ^D >> a x >> a y >> a z > > I'm confused by the first command output too. > I'm not sure what the code is tryin

Re: sort "b" option in pos2 has strange effect

2009-02-03 Thread Andreas Schwab
Pádraig Brady writes: > Can someone at least confirm that we (should) interpret > the "a x" input as having 2 fields, 'a' and ' x' ? "A field comprises a maximal sequence of non-separating characters and, in the absence of option −t, any preceding field separator." Andreas. -- Andreas Sch

Re: Difference in ln/ln -s semantics

2009-02-03 Thread Vitali Lovich
How about for symlinks: "When creating symbolic links, each TARGET path will be resolved relative to the parent directory of the symbolic link when it is accessed" below the "When creating hard links, each TARGET must exist." text. Is it too sutble that this may be a problem for relative paths? "

(no subject)

2009-02-03 Thread Jeromy Keloway
Good afternoon What I have to say is a little bit... hard to believe. But I think I found a "bug" in the Shell-Command "cp". The command goes into a endless loop when I do the following: 1) Mount a partition with the filesystem "ext3" ("/media/EXT3drive") 2) Mount a partition with the filesyst

cp -a refuses to devolve file mode

2009-02-03 Thread Elmar Stellnberger
cp -a refuses to devolve the file mode when I copy a certain file between two ext3 volumes whereas it does not report any error: > cat syncit cp -a /home/./downloads/system/freebsd/bootstrap/etch/debootstrap /mnt/home-mirror/home/./downloads/system/freebsd/bootstrap/etch/debootstrap echo $? for i