Re: bug in hostname

2004-01-10 Thread Alfred M. Szmidt
Do any of you know if there is a `hostname' program that is featureful and portable enough that we could simply remove hostname from coreutils -- or at least stop installing it? I would strongly object to the removal of `hostname' in coreutils. On GNU/Hurd it would essentially result in

Re: "readlink -f foo" fails if the target of foo does not exist

2004-01-10 Thread Jim Meyering
Paul Eggert <[EMAIL PROTECTED]> wrote: > Jim Meyering <[EMAIL PROTECTED]> writes: > >> So here's a better spec: >> >> If canonicalize_file_name (FILE) succeeds, work exactly as now. >> else if lstat (FILE) succeeds, >> linkname = readlink (FILE) >> if linkname starts with `/', print lin

Re: bug in hostname

2004-01-10 Thread Jim Meyering
Martin MOKREJÅ <[EMAIL PROTECTED]> wrote: > I never got final emails from developers regarding a fix to this problem. IMHO, this isn't a big problem. But if someone provides a patch to make coreutils' hostname support more options, along with appropriate documentation, that'd be great. Do any o

Re: bug in hostname

2004-01-10 Thread Martin MOKREJŠ
Hi, I never got final emails from developers regarding a fix to this problem. There were mentioned other tools being buggy or behave in a different way(i.e. conform POSIX) like tail(1), head(1) etc. Please refresh http://www.mail-archive.com/[EMAIL PROTECTED]/msg00779.html thread and possibly bui

Re: Faster algorithm for factor?

2004-01-10 Thread Bruno Haible
Jim Meyering wrote: > > http://www.loria.fr/~zimmerma/records/ecmnet.html > > http://www.loria.fr/~zimmerma/records/ecm-5.0.3.html > > I like that idea. Thanks! > I've always wanted factor to accept arbitrarily large inputs. Although you can input an arbitrarily large integer, the limit of what t

Re: "readlink -f foo" fails if the target of foo does not exist

2004-01-10 Thread Thomas Hood
On Sat, 2004-01-10 at 08:14, Paul Eggert wrote: > Jim Meyering <[EMAIL PROTECTED]> writes: > > > So here's a better spec: > > If canonicalize_file_name (FILE) succeeds, work exactly as now. > > else if lstat (FILE) succeeds, > > linkname = readlink (FILE) > > if linkname starts with `/

Re: "readlink -f foo" fails if the target of foo does not exist

2004-01-10 Thread Paul Eggert
Jim Meyering <[EMAIL PROTECTED]> writes: > So here's a better spec: > > If canonicalize_file_name (FILE) succeeds, work exactly as now. > else if lstat (FILE) succeeds, > linkname = readlink (FILE) > if linkname starts with `/', print linkname > otherwise, print $(readlink -f $(di