bug#6330: Feature request: mktemp creates named pipes

2010-06-08 Thread Sebastien Andre
On Sat, Jun 5, 2010 at 9:25 AM, Jim Meyering j...@meyering.net wrote: Sebastien Andre wrote: ... I see two reasons why the addition of a --fifo option is better than using existing tools: * Creating a temporary directory to finally create a pipe just because it is safe this way

bug#6330: Feature request: mktemp creates named pipes

2010-06-08 Thread Jim Meyering
Sebastien Andre wrote: On Sat, Jun 5, 2010 at 9:25 AM, Jim Meyering j...@meyering.net wrote: ... because it is safe is often a good reason to learn and use a new idiom. When you first encounter such an idiom, it does indeed look like a trick. Well, after all an idiom might just be

bug#6131: [PATCH]: fiemap support for efficient sparse file copy

2010-06-08 Thread Jim Meyering
Jim Meyering wrote: Jim Meyering wrote: ... Do you know of a tool other than filefrag that I could use? nope. It looks like a small script could filter filefrag -v output, detect split extents and rewrite to make the output match what's expected. Probably not worth it, though, since this

bug#6131: [PATCH]: fiemap support for efficient sparse file copy

2010-06-08 Thread Eric Blake
On 06/08/2010 05:33 AM, Jim Meyering wrote: new file mode 100644 index 000..d33293b --- /dev/null +++ b/src/fiemap.h @@ -0,0 +1,102 @@ +/* FS_IOC_FIEMAP ioctl infrastructure. + Some portions copyright (C) 2007 Cluster File Systems, Inc + Authors: Mark Fasheh mfas...@suse.com +

bug#6377: Subject: inaccurate character class processing

2010-06-08 Thread Iosif Fettich
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-unknown-linux-gnu' -DCONF_VENDOR='unknown'

bug#6377: Subject: inaccurate character class processing

2010-06-08 Thread Pádraig Brady
tags 6377 + notabug On 08/06/10 14:48, Iosif Fettich wrote: (I'm not sure if this a bash or a coreutils issue). ls [A-Z]* doesn't work as expected/documented. The logic is in bash but it's not an issue. It's using the collating sequence of your locale $ touch a A

bug#6377: Subject: inaccurate character class processing

2010-06-08 Thread Pierre Gaston
On Tue, Jun 8, 2010 at 4:48 PM, Iosif Fettich ifett...@netsoft.ro wrote: ...        ls [a-z]*        outputs        a  A  b  B  z        (why 'A' and 'B' - and/or where's 'Z'...?!!) it's a classic problem with the locale, the range [a-z] contains the capital letters for some  locale

bug#6377: Subject: inaccurate character class processing

2010-06-08 Thread Greg Wooledge
On Tue, Jun 08, 2010 at 04:48:08PM +0300, Iosif Fettich wrote: ls [A-Z]* doesn't work as expected/documented. I'd want/expect it to list the filenames starting with an uppercase letter. The results of this are dependent upon your locale. If your locale is

bug#6131: [PATCH]: fiemap support for efficient sparse file copy

2010-06-08 Thread Sunil Mushran
On 06/08/2010 05:10 AM, Eric Blake wrote: new file mode 100644 index 000..d33293b --- /dev/null +++ b/src/fiemap.h @@ -0,0 +1,102 @@ +/* FS_IOC_FIEMAP ioctl infrastructure. + Some portions copyright (C) 2007 Cluster File Systems, Inc + Authors: Mark Fashehmfas...@suse.com +

bug#6053: cp, ls, and mv bug: unknown error (252)

2010-06-08 Thread Callahan, Patrick M.
Bob, Thanks for responding. One thing I probably did not make clear is that I've tried 8.5 both depots and sources from the HP Porting and Archive Centre (http://hpux.connect.org.uk/). I realize that changes they make are out of your control however for a sysadmin like me they make my job

bug#6379: process substitution with a give suffix

2010-06-08 Thread Peng Yu
On Tue, Jun 8, 2010 at 1:02 PM, Greg Wooledge wool...@eeg.ccf.org wrote: On Tue, Jun 08, 2010 at 12:53:47PM -0500, Peng Yu wrote: I have a program that only accept argument with a give suffix ./program xxx.suffix If I use process substitution, which gives me /dev/fd/xx, it will not work

bug#6379: process substitution with a give suffix

2010-06-08 Thread Eric Blake
On 06/08/2010 12:33 PM, Peng Yu wrote: mkfifo myfifo.suffix something myfifo.suffix ./program myfifo.suffix wait rm myfifo.suffix The above question was sent to bug-bash. But since it is related to mkfilo. I redirect it to bug-coreutils. Your question is about how to use various

bug#6053: cp, ls, and mv bug: unknown error (252)

2010-06-08 Thread Jim Meyering
Callahan, Patrick M. wrote: Pádraig Brady wrote: Callahan, Patrick M. wrote: When using coreutils binaries either built from sources or installed from the Porting And Archive Centre for HP-UX we see errors of the type below when copying (cp), listing (ls), or moving (mv) files or

bug#6131: [PATCH]: fiemap support for efficient sparse file copy

2010-06-08 Thread Jim Meyering
Jim Meyering wrote: Subject: [PATCH 01/10] cp: Add FIEMAP support for efficient sparse file copy FYI, using those patches, I ran a test for the first time in a few days: check -C tests TESTS=cp/sparse-fiemap VERBOSE=yes It failed like this on an ext4 partition using F13: + timeout 10

bug#6131: [PATCH]: fiemap support for efficient sparse file copy

2010-06-08 Thread Jim Meyering
Eric Blake wrote: +++ b/tests/cp/sparse-fiemap @@ -0,0 +1,56 @@ +#!/bin/sh +# Test cp --sparse=always through fiemap copy + +# Copyright (C) 2006-2010 Free Software Foundation, Inc. How much of this content comes from other files from 2006, vs. new content needing only 2010? Good point.

bug#6053: cp, ls, and mv bug: unknown error (252)

2010-06-08 Thread Pádraig Brady
On 08/06/10 21:51, Jim Meyering wrote: Callahan, Patrick M. wrote: Pádraig Brady wrote: Callahan, Patrick M. wrote: When using coreutils binaries either built from sources or installed from the Porting And Archive Centre for HP-UX we see errors of the type below when copying (cp), listing

bug#6131: [PATCH]: fiemap support for efficient sparse file copy

2010-06-08 Thread Paul Eggert
Jeff Liu and Jim Meyering wrote: diff --git a/src/fiemap.h b/src/fiemap.h new file mode 100644 index 000..d33293b --- /dev/null +++ b/src/fiemap.h Why is this file necessary? fiemap.h is included only if it exists, right? Shouldn't we just use the kernel's fiemap.h rather than copying

bug#6366: join can't join on numeric fields

2010-06-08 Thread Alex Shinn
2010/6/8 Pádraig Brady p...@draigbrady.com: On 07/06/10 06:19, Alex Shinn wrote: Ideally join should be able to handle files sorted in any order that sort provides, but as a bare minimum it should at least be able to join files sorted on numeric fields. Well if there were no aliases in the