Re: new coreutil? shuffle - randomize file contents

2005-05-23 Thread James Youngman
Davis Houlton writes:- I recently had to write a shuffle utility for a personal project and was wondering if it would make a canidate for the coreutils suite. It seems like the kind of utility the toolbox could use (maybe under section 3. Output of entire files). This behaviour was proposed

Bug or feature? replace symlink to directory with ln -fs does not work

2005-05-23 Thread Peter Kratzer
Dear friends, I have encountered a problem using the command ln -sf to replace a symlink to a directory by a symlink to a different directory. Working in a heterogenous environment with GNU/Linux and HP-UX workstations I found a different behaviour in this command's handling on the two operating

Re: Bug or feature? replace symlink to directory with ln -fs does not work

2005-05-23 Thread Jim Meyering
Peter Kratzer [EMAIL PROTECTED] wrote: I have encountered a problem using the command ln -sf to replace a symlink to a directory by a symlink to a different directory. `ln -nsf' should do what you want. ___ Bug-coreutils mailing list

Re: Bug or feature? replace symlink to directory with ln -fs does not work

2005-05-23 Thread Paul Eggert
Peter Kratzer [EMAIL PROTECTED] writes: Contrary to the Unix behaviour (e.g. HP-UX) using this command on a GNU/Linux system does not replace the link, but creates a new link in the originally referenced directory. Actually, HP-UX is the odd man out here. GNU ln is compatible with Solaris

expr bug

2005-05-23 Thread Bob Gill
Hi. I think I found a bug in expr (and I haven't checked your bug tracker and therefore apologize in advance if it's already been reported/fixed). The bug: in expr, the product function appears to be broken. Example: /expr 5 * 2 expr: syntax error ...the problem only occurs with product.

Re: Bug or feature? replace symlink to directory with ln -fs does not work

2005-05-23 Thread Bob Proulx
Peter Kratzer [EMAIL PROTECTED] writes: Contrary to the Unix behaviour (e.g. HP-UX) using this command on a GNU/Linux system does not replace the link, but creates a new link in the originally referenced directory. This has appeared as a portability problem a number of times in the past. If

Re: expr bug

2005-05-23 Thread Bob Proulx
Bob Gill wrote: Hi. I think I found a bug in expr (and I haven't checked your bug tracker and therefore apologize in advance if it's already been reported/fixed). The bug: in expr, the product function appears to be broken. Example: /expr 5 * 2 expr: syntax error Thanks for reporting