Re: new coreutil? shuffle - randomize file contents

2005-06-06 Thread Jim Meyering
Frederik Eaton <[EMAIL PROTECTED]> wrote: > Here is a preliminary patch for basic shuffling functionality in > 'sort', with same-keys-sort-together behavior. It adds two options: > "-R" to compare based on a hash of key, and "--seed" to specify salt > for the hash. If "--seed" is not given then the

Re: ln does not work as documented

2005-06-06 Thread Jim Meyering
Bill, thanks for pointing out the bad example. I've added Bob's examples verbatim. Thanks, Bob. ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils

Re: Suggested enhancement to du command - show last modified date.

2005-06-06 Thread Jim Meyering
William Brendling <[EMAIL PROTECTED]> wrote: ... >> Doesn't the standard ISO-8601 date format accomplish that, too? > > Quite likely. I will have to find out what the ISO-8601 format is. date already supports it: $ date --iso=s 2005-06-07T08:14:28+0200 ls does, too, via --time-style=STYLE. d

Re: ln does not work as documented

2005-06-06 Thread Bob Proulx
Bill Bruno wrote: > The examples in the man page say I can > ln -s a b .. > and get links in ../a and ../b to ./a and ./b Yes. Perhaps not the most useful of examples. Suggestions for documentation improvements are always welcome. > but when I try it I get a link from ../a and ../b to > themsel

Re: Bug in md5sum

2005-06-06 Thread Bob Proulx
Chuck Messenger wrote: > $ touch a\\\'s > $ ls > a\'s > $ md5sum a\\\'s > \d41d8cd98f00b204e9800998ecf8427e a\\'s > $ md5sum --version > md5sum (coreutils) 5.2.1 > > In other words, an extraneous \ is inserted before the md5 in the > output, due to the fact that there's a backslash (or perhaps a

Re: Suggested enhancement to du command - show last modified date.

2005-06-06 Thread William Brendling
> First, get a copy of the latest sources from CVS by following > the instructions here: > Apply your changes there, then run e.g., > and mail the contents of DIFF to the mailing list. OK. My current version is based upon the 5.2.1 release code. I will try and port it over to the CVS code. > Does

Bug in md5sum

2005-06-06 Thread Chuck Messenger
Try the following: $ touch a\\\'s $ ls a\'s $ md5sum a\\\'s \d41d8cd98f00b204e9800998ecf8427e a\\'s $ md5sum --version md5sum (coreutils) 5.2.1 In other words, an extraneous \ is inserted before the md5 in the output, due to the fact that there's a backslash (or perhaps a \') in the file name

ln does not work as documented

2005-06-06 Thread Bill Bruno
The examples in the man page say I can ln -s a b .. and get links in ../a and ../b to ./a and ./b but when I try it I get a link from ../a and ../b to themselves, which are useless circular links. I'm using tcsh in linux, uname -r : 2.4.21-20.EL Bill __

Re: new coreutil? shuffle - randomize file contents

2005-06-06 Thread Frederik Eaton
Here is a preliminary patch for basic shuffling functionality in 'sort', with same-keys-sort-together behavior. It adds two options: "-R" to compare based on a hash of key, and "--seed" to specify salt for the hash. If "--seed" is not given then the default is to read from /dev/random or /dev/urand