Re: mkdir -p and network drives

2005-05-06 Thread Paul Eggert
Christopher Faylor <[EMAIL PROTECTED]> writes: > Except that it can't be made to work correctly due to a bash bug. Which Bash bug is that? Bash bugs can be fixed. ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listi

Re: mkdir -p and network drives

2005-05-06 Thread Christopher Faylor
On Fri, May 06, 2005 at 11:13:56AM -0700, Paul Eggert wrote: >Igor Pechtchanski <[EMAIL PROTECTED]> writes: >>There's always Pierre's solution of doing minimal support for stat()ing >>'//' and '//MACHINE', though... > >Yes, that's the basic idea. That's the only thing that makes sense >here. Exce

Re: mkdir -p and network drives

2005-05-06 Thread Jim Meyering
>> By the way, the coreutils anon CVS mirror syncronization >> appears to be hung again, I've just sync'd things. ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils

Re: mkdir -p and network drives

2005-05-06 Thread Paul Eggert
Igor Pechtchanski <[EMAIL PROTECTED]> writes: > There's always Pierre's solution of doing minimal support for stat()ing > '//' and '//MACHINE', though... Yes, that's the basic idea. That's the only thing that makes sense here. ___ Bug-coreutils maili

Re: DD converts LF -> CR / LF

2005-05-06 Thread Paul Eggert
That looks pretty complicated. How about if we just rely on "open" and "fcntl" to do the work? If they don't work, they should. I installed this into coreutils: 2005-05-06 Paul Eggert <[EMAIL PROTECTED]> * NEWS: dd has new iflag= and oflag= flags "binary" and "text". * doc/co

Re: DD converts LF -> CR / LF

2005-05-06 Thread Brian Dessent
Eric Blake wrote: > Predefining O_BINARY as the default input_flags and output_flags is a > stopgap measure. While it is fine for other programs, such as od, to Doesn't that overly complicate things? Seems to me that whenever you use dd you are interested in copying fixed record length data. I

Re: [bug-gnulib] Re: getopt and Solaris 10

2005-05-06 Thread Matthias Kurz
On Thu, May 05, 2005, Paul Eggert wrote: > Derek Price <[EMAIL PROTECTED]> writes: > > > I prefer door #2. Trivial patch attached: > > Thanks, but I'd rather use AC_CHECK_DECL, so I installed this instead, > into both coreutils and gnulib. Does it work? > > 2005-05-05 Paul Eggert <[EMAIL PR

Re: date zh_TW.Big5 +%P

2005-05-06 Thread Abel Cheung
On 5/6/05, Andreas Schwab <[EMAIL PROTECTED]> wrote: > > About detection of multibyte string, is there any > > better method than retrieving LC_TIME and > > lookup the charset inside a predefined array > > containing known multibyte charset? > > mblen tells you how many bytes a characters has. Al

RE: mkdir -p and network drives

2005-05-06 Thread Igor Pechtchanski
On Thu, 5 May 2005, Dave Korn wrote: > Original Message > >From: Igor Pechtchanski > >Sent: 05 May 2005 18:20 > > > On Thu, 5 May 2005, Paul Eggert wrote: > > > >> Eric Blake <[EMAIL PROTECTED]> writes: > >> > >>> //MACHINE currently generates ENOENT, whether or not there is a > >>> server

Re: DD converts LF -> CR / LF

2005-05-06 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Brian Dessent on 5/6/2005 2:06 AM: > Sebastian Schuberth wrote: > >>my mounts are all text mode, i.e. the "Default Text File >>Type" is "DOS". Nevertheless, shouldn't >> >>dd if=test_unix.txt of=text.txt >> >>create an exact copy of "test

Re: mv -f may remove the destination file

2005-05-06 Thread Paul Eggert
[EMAIL PROTECTED] (Bob Proulx) writes: > I think the reason for the question might be for what purpose is the > lstat() call there? It is there to tell if the destination is a > directory and if so then it converts the rename to a rename to a > file in the subdirectory, also as required by POSIX.