bug#6427: Autotest: enable colored test results.

2010-06-14 Thread Eric Blake
[the coreutils portion of this email starts half-way down] On 06/14/2010 01:45 PM, Ralf Wildenhues wrote: > Hi Eric, > > quoting your reply out of order: > > * Eric Blake wrote on Mon, Jun 14, 2010 at 07:22:31PM CEST: >> On 06/13/2010 12:50 AM, Ralf Wildenhues wrote: >

bug#6402: [PATCH] rm: added --directory (-d) option

2010-06-11 Thread Eric Blake
ter programmer. > > Thank you, and with out further ado, here is the patch. > -- Eric Blake ebl...@redhat.com+1-801-349-2682 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

bug#6395: How sort based on a list of fields?

2010-06-10 Thread Eric Blake
On 06/10/2010 11:12 AM, Peng Yu wrote: > Hi, > > -k option of sort only allow a range of files. But I would like a list > of fields. For example, field 7, field 3 then field 8. Would you > please let me know how to do it? sort -k7,7 -k3,3 -k8,8 -- Eric Blake ebl...@redhat.co

bug#6394: Is it possible to reorder fields with cut?

2010-06-10 Thread Eric Blake
t; > Basically, I want the original 1st field as the new 2nd field and the > original 2nd field the first. Is reordering fields possible with cut. No. Use awk instead. -- Eric Blake ebl...@redhat.com+1-801-349-2682 Libvirt virtualization library http://libvirt.org signature.asc

bug#6393: The meaning of --key of sort command?

2010-06-10 Thread Eric Blake
e, with a secondary sort key of the entire line. '--key=2,2' implies a primary sort key of just the second field, with a secondary sort key of the entire line. You want '--key=2,2 --stable', which disables the secondary sort over the entire line. -- Eric Blake ebl.

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

2010-06-10 Thread Eric Blake
; [>> seems to be to separate me from as much as my budget as they can > [>> get. Can you confirm Pádraig's google analysis that 252 is ENOTSUP on your platform? If we have a symbolic name, then we can patch the code quite easily. We can also patch the gnulib strerror and

bug#6383: [PATCH] cat: improve documentation

2010-06-09 Thread Eric Blake
* src/cat.c (usage): Clarify that -b overrides -n. * doc/coreutils.texi (cat invocation): Likewise. * THANKS: Update. Suggested by Chas. Owens, in bug 6383. --- > The -n option is documented as "number all output lines", but when -b > is present it only numbers non-blank lines. The documentation

bug#6379: process substitution with a give suffix

2010-06-08 Thread Eric Blake
ock your shell script (something that won't happen with regular files). > > $ cat a.txt > In a.txt > $ cat b.txt > In b.txt > $ cat main.sh > #!/usr/bin/env bash > > mkfifo a.suffix > cat a.txt >a.suffix & > mkfifo b.suffix > cat b.txt >b.suff

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

2010-06-08 Thread Eric Blake
> + > +# 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? -- Eric Blake ebl...@redhat.com+1-801-349-2682 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

bug#6175: [PATCH] dirname: tweak summary wording

2010-06-08 Thread Eric Blake
gt;> +if NAME contains no /'s, output `.' (meaning the current directory).\n\ > > Looks fine. I know it was there in the original too, > but s/output/print/ sounds a little better. Pushed with that tweak. -- Eric Blake ebl...@redhat.com+1-801-349-2682 Libvirt

bug#6175: [PATCH] dirname: tweak summary wording

2010-06-07 Thread Eric Blake
* doc/coreutils.texi (dirname invocation): Reword to be more precise. * src/dirname.c (usage): Likewise. * THANKS: Update. Reported by Filipus Klutiero, bug 6175. --- On 05/17/2010 09:36 AM, Eric Blake wrote: > > On 05/17/2010 09:17 AM, Filipus Klutiero wrote: [revisiting an older

bug#6330: Feature request: mktemp creates named pipes

2010-06-07 Thread Eric Blake
cumentation, your contribution would probably be non-trivial and >> require copyright assignment to the FSF. Let us know if you'd like to >> start that process. >> >> > Yes, I'm interested in starting that process. I'm sending you some details off-list.

bug#6353: cp and mv with single wild card argument acts as if multiple arguments were entered.

2010-06-04 Thread Eric Blake
-i or cp -i by default, which will catch common errors like this. For more information on globbing, see this FAQ: http://www.gnu.org/software/coreutils/faq/#expr-2-_002a-3-does-not-work -- Eric Blake ebl...@redhat.com+1-801-349-2682 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

bug#6330: Feature request: mktemp creates named pipes

2010-06-02 Thread Eric Blake
an be swayed if you can present good arguments why the addition is better than using existing tools. > > PS: I can try to provide a patch if my bug is accepted Patches speak volumes, although by the time you add the code and the documentation, your contribution would probably be non-trivia

bug#6327: sort fails on some UTF-8 input

2010-06-02 Thread Eric Blake
NU/Linux system with 732 installed locales. But it is highly likely that you could be in a non-UTF-8 locale, or that the Solaris multibyte functions are not as robust as glibc at detecting valid UTF-8 sequences. If it is indeed a bug in Solaris strcoll(), then gnulib can probably be taught to wo

bug#6323: Enhancement request: Add wronly to Coreutils

2010-06-01 Thread Eric Blake
nto coreutils is sufficient for writing a windows port, since the cygwin project is pretty reliable at porting coreutils to windows. -- Eric Blake ebl...@redhat.com+1-801-349-2682 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

bug#6268: Suggestion: truncate should allow -r and -s options together

2010-06-01 Thread Eric Blake
to get the size of a block device is to open() it, then do lseek(fd,0,SEEK_END). Other more efficient methods, like an ioctl, may exist for some platforms, but then it could become a maintenance nightmare to figure out where the shortcuts are available. -- Eric Blake ebl...@redhat.com+1-801

bug#6293: git-version-gen: Add support for a git tag transformation sed script

2010-05-28 Thread Eric Blake
uot;` \ Some sed required the trailing newline; you need to use: v=`printf %s\\n "$v" | sed "$tag_sed_script"` -- Eric Blake ebl...@redhat.com+1-801-349-2682 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

bug#6288: gnuwin32 du fails at "C:\Program Files"

2010-05-28 Thread Eric Blake
rt of coreutils in running things like du. -- Eric Blake ebl...@redhat.com+1-801-349-2682 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

bug#6285: a possible bug of "sort -un", it is definitely not caused by language setting

2010-05-27 Thread Eric Blake
s for the report. However, I don't think it is a bug. The empty line, when forced to take on a numeric value, is equivalent to 0. And since you specified unique entries only, sort only printed the empty line (the first of the two matching lines that it encountered). -- Eric Blake

bug#6236: Bug report in Date Command

2010-05-21 Thread Eric Blake
utils/faq/#The-date-command-is-not-working-right_002e > This e-mail and its attachments contain confidential information from It is considered poor netiquette to include employer disclaimers on mail sent to publicly archived mailing lists, where the disclaimer is rendered ineffective. Consider usi

bug#6235: hostname and -b option

2010-05-20 Thread Eric Blake
a default hostname. > [I'm not urging that this be done, merely that it be discussed. In my > view, Ubuntu is at fault for introducing nonstandard options, and > messing up the boot PATH, and failing to use explicit paths on > critical boot-time commands. Your view is correc

bug#6215: default process priority

2010-05-18 Thread Eric Blake
riorities work (although again, the default is likely to be that each process inherits the priority from its parent). -- Eric Blake ebl...@redhat.com+1-801-349-2682 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

bug#6175: dirname manpage and info page partially wrong/misleading

2010-05-17 Thread Eric Blake
well, reachable from) the root directory, as evidenced by '/../' resolving to '/'. But that doesn't work as well with the '<2 components' wording above, so I'm feeling more comfortable with leaving the corner-cases undocumented in the terse --help outpu

bug#6175: dirname manpage and info page partially wrong/misleading

2010-05-14 Thread Eric Blake
aps a more correct formulation, while still being concise, is along these lines: Strip the last component and resulting trailing slashes; if the file name contains only one component, print '.'. But I welcome your ideas for a coherent sentence. -- Eric Blake ebl...@redhat.com+1-80

bug#6194: bug: pwd

2010-05-14 Thread Eric Blake
e coreutils man page was definitely more biased towards 'pwd -P' behavior. But if you still think that there is anything to tweak in the current upstream documentation, we'd like to hear about it. -- Eric Blake ebl...@redhat.com+1-801-349-2682 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

bug#6194: bug: pwd

2010-05-14 Thread Eric Blake
e following: > mkdir dirA dirB > cd dirA > ln -s ../dirB/ lnkB > cd lnkB > pwd Try '/bin/pwd' instead of 'pwd' to see the difference. And to prove to yourself that you were getting the shell built-in, try 'pwd --help', contrasted with '/bin/pwd

bug#6176: [PATCH 2/2] sort: --debug: output data independent key warnings

2010-05-14 Thread Eric Blake
sider > " > + "also specifying `b'"), keynum); > + > + > + /* Warn about numeric comparisons spanning fields, Why two blank lines? > @@ -3884,6 +3985,18 @@ main (int argc, char **argv) >if (debug && outfile) > error (SORT_FAILURE, 0, _("options -o and --debug are incompatible")); Why? -- Eric Blake ebl...@redhat.com+1-801-349-2682 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

bug#6186: du in coreutils should add the -d flag as a shortcut to --max-depth

2010-05-13 Thread Eric Blake
rst? If not, I can probably get around to this in another day or two. -- Eric Blake ebl...@redhat.com+1-801-349-2682 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

bug#6176: [PATCH 2/2] sort: --debug: output data independent key warnings

2010-05-12 Thread Eric Blake
On 05/12/2010 07:53 AM, Eric Blake wrote: > On 05/11/2010 05:39 PM, Pádraig Brady wrote: >> The attached patch gives warnings about questionable >> option combinations. For example: >> >> $ sort --debug -rb -k1,1n /dev/null >> ! options `-b' are ignored >&g

bug#6176: [PATCH 2/2] sort: --debug: output data independent key warnings

2010-05-12 Thread Eric Blake
hat looks awkward, both when compared to the GCS convention of listing the program name rather than !, and in respect to plurality: sort: option `-b' is ignored sort: option `-r' only applies to last-resort comparison -- Eric Blake ebl...@redhat.com+1-801-349-2682 Libvirt vir

bug#6132: bug in date: --rfc-3339=TIMESPEC option doesn't print 'T'

2010-05-07 Thread Eric Blake
n reparse. So before we apply this patch, we would first need a patch to gnulib's getdate.y that allows parsing of an rfc3339 style with a 'T' instead of a space. -- Eric Blake ebl...@redhat.com+1-801-349-2682 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

bug#6124: basename/dirname are not POSIX compliant on arg starting with a dash

2010-05-06 Thread Eric Blake
; > Perhaps they're copying coreutils without looking at what POSIX says. Or, more likely, perhaps they are independently obeying what POSIX says, without reference to either coreutils or busybox. -- Eric Blake ebl...@redhat.com+1-801-349-2682 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

bug#6124: basename/dirname are not POSIX compliant on arg starting with a dash

2010-05-06 Thread Eric Blake
ary options that the implementation may provide as an extension. For example, if the standard utility foo is listed as taking no options, and the application needed to give it a pathname with a leading , it could safely do it as: foo -- -myfile and avoid any problems with -m used as an ext

bug#6124: basename/dirname are not POSIX compliant on arg starting with a dash

2010-05-06 Thread Eric Blake
ithout reference to either coreutils or busybox. > > So, I think I should reassign the bug to busybox? Yes. -- Eric Blake ebl...@redhat.com+1-801-349-2682 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

bug#6125: [PATCH] Fix indent of --help and --version

2010-05-06 Thread Eric Blake
e() functions to call this new formatting system. It does sound like a nice project, but it's not my highest priority. -- Eric Blake ebl...@redhat.com+1-801-349-2682 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

bug#6124: basename/dirname are not POSIX compliant on arg starting with a dash

2010-05-06 Thread Eric Blake
an that many scripts > would have to be fixed. Yes, many broken scripts need to be fixed. But that is the fault of those broken scripts, not coreutils. -- Eric Blake ebl...@redhat.com+1-801-349-2682 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

bug#6124: basename/dirname are not POSIX compliant on arg starting with a dash

2010-05-06 Thread Eric Blake
On 05/06/2010 07:41 AM, Eric Blake wrote: >> According to POSIX[*], basename and dirname take no options (examples >> in POSIX also assume that), so that this would make BusyBox's behavior >> correct. > > No, you're missing one other key point of POSIX: >

bug#6104: [Expert] Bug in mv?

2010-05-05 Thread Eric Blake
b in your second argument is expanded by the shell independently of the * in the first argument, and mv never knows that either variant was a glob. -- Eric Blake ebl...@redhat.com+1-801-349-2682 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

bug#6110: shred suggestion

2010-05-05 Thread Eric Blake
t would be better to forward your request to the nautilus team. -- Eric Blake ebl...@redhat.com+1-801-349-2682 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

bug#6007: sort command in Fedora10

2010-04-22 Thread Eric Blake
rmal-order_0021 Try again with 'LC_ALL=C sort aaa.txt' to see the difference. Personally, I have 'export LC_COLLATE=C' in my ~/.bashrc in order to guarantee traditional sorting, while everything else continues to follow my default locale. -- Eric Blake ebl...@redhat.c

bug#5996: [PATCH] base64: always treat input in binary mode

2010-04-22 Thread Eric Blake
8.5. And someday I'll get around to creating the new gnulib interface >> for gracefully enforcing binary streams without clobbering O_APPEND. But I'd still like to commit this in time for coreutils 8.5 later today if there are no complaints. -- Eric Blake ebl...@redhat.com

bug#6004: [libvirt] [PATCH 3/4] Fix QEMU save/restore with block devices

2010-04-22 Thread Eric Blake
an portably do, then, is capture stderr, then check the exit status of dd; if the exit status is 0, discard the captured stderr; otherwise, pass the stderr on to the logfile: foo | dd of=a seek=$n 2>b; st=$?; if test $st != 0; then cat b >&2; \ fi && rm -f b && exit $st -- Eric Blake ebl...@redhat.com+1-801-349-2682 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

bug#5991: [bug#5958 PATCH] docs: document translation of obsolete sort syntax

2010-04-21 Thread Eric Blake
; s/The/The obsolete/ Pushed, with those tweaks. -- Eric Blake ebl...@redhat.com+1-801-349-2682 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

bug#5987: ready for 8.5?

2010-04-20 Thread Eric Blake
rly enable binary mode without clobbering append mode, but haven't gotten back to it. However, the effect on cygwin of keeping the current code is no different than it was for 8.4 (that is, it is not a showstopper to fix it before releasing 8.5). -- Eric Blake ebl...@redhat.com+1-8

bug#5991: [bug#5958 PATCH] docs: document translation of obsolete sort syntax

2010-04-20 Thread Eric Blake
* doc/coreutils.texi (sort invocation): Mention the conversion. --- How about this followup, copying the comment from Pádraig's patch into our documentation? doc/coreutils.texi |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/doc/coreutils.texi b/doc/coreutils.texi i

bug#5970: regex won't do lazy matching

2010-04-19 Thread Eric Blake
ur test app compiled against glibc, and if that still doesn't meet your needs, then open a bug report against glibc. And if glibc works, then open a bug report against gnulib that gnulib and glibc disagree. -- Eric Blake ebl...@redhat.com+1-801-349-2682 Libvirt virtualization l

bug#5959: testsuite failure on misc/selinux [was: bug#5959: bug]

2010-04-16 Thread Eric Blake
n some fixes to chcon in the meantime. Would you mind repeating your tests with the latest version, in case you are tripping up on one of the bugs we have already addressed? -- Eric Blake ebl...@redhat.com+1-801-349-2682 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

bug#5958: Sort-8.4 bug

2010-04-16 Thread Eric Blake
ecause it would have been very helpful in demonstrating my reply. > > The result is the same. If I make the same executions with sort 5.0 it > works properly. Actually, sort 5.0 was buggy in this area. Sort 8.4 has a number of bug fixes for bad behavior in sort 5.0. -- Eric Blake

bug#5951: [PATCH] doc: document our code formatting policy regarding curly braces

2010-04-15 Thread Eric Blake
> +multi-statement loop: seems redundant with this paragraph. Besides, it makes for an awkward flow: when omitting is good when it is bad example of good when it is bad example of bad Deleting the paragraph in question makes for a nicer flow, with no loss of information: when it is good

bug#5944: sort with option +4nr does not work now and it used to do it some time ago

2010-04-14 Thread Eric Blake
d, rendering your disclaimer ineffective. It is considered poor netiquette to send email to public lists with a company disclaimer; you should consider using a personal account that does not fill our inboxes with useless legalese. -- Eric Blake ebl...@redhat.com+1-801-349-2682 Libvirt v

bug#5941: tail bug

2010-04-13 Thread Eric Blake
s 8.4, and there have been some fixes for bugs in tail within the last year. We need more information before we can either repeat this or definitively state that you have encountered one of those already-fixed bugs. -- Eric Blake ebl...@redhat.com+1-801-349-2682 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

bug#5817: "false" core util

2010-04-01 Thread Eric Blake
rns a >> success. Any suggestions? What shell are you using? Typically, false is also a shell builtin, so maybe your particular shell has a bug. -- Eric Blake ebl...@redhat.com+1-801-349-2682 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

bug#5812: expr: Difference in behavior of match and :

2010-03-31 Thread Eric Blake
. At any rate, there's nothing in the source code that introduces any case insensitivity, and the documentation is correct, that match and : behave identically. -- Eric Blake ebl...@redhat.com+1-801-349-2682 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

bug#5804: sort --human

2010-03-30 Thread Eric Blake
On 03/30/2010 09:14 AM, Phil Dumont wrote: > It sure would be nice if the sort command had a --human option: > > du -s --human * | sort --human It does, as of coreutils 7.5. Are you running something older? -- Eric Blake ebl...@redhat.com+1-801-349-2682 Libvirt virtualizatio

bug#5781: [bug #29349] ls.c missing HAVE_NL_LANGINFO check

2010-03-26 Thread Eric Blake
Follow-up Comment #4, bug #29349 (project coreutils): Huh? Notice that required_mon_width is declared at file scope, with the static modifier. C89 _guarantees_ that it is therefore initialized to 0 at program startup. The comment above its declaration states that 0 means to not use precomputed

bug#5778: [bug #29349] ls.c missing HAVE_NL_LANGINFO check

2010-03-26 Thread Eric Blake
Follow-up Comment #1, bug #29349 (project coreutils): abmon_init is already conditional; it returns 0 if HAVE_NL_LANGINFO is not defined. I think a better patch would be something that unconditionally fixes the logic to deal with abmon_init returning 0 because we can't determine a variable size,

Re: coreutils patch to multithread md5sum for parallel hashing (ala the HP-UX days)

2010-03-25 Thread Eric Blake
if it re-appears later on. This list is moderated - non-members can post, although there is a delay (usually less than 24 hours) for the human moderators in the loop to approve new email addresses, whether or not they are subscribed. -- Eric Blake ebl...@redhat.com+1-801-349-2682 Libvirt vi

Re: pwd

2010-03-24 Thread Eric Blake
s a "csh" account. > > Thanks for the reply... > > John Glad we could be of help. -- Eric Blake ebl...@redhat.com+1-801-349-2682 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

Re: pwd

2010-03-23 Thread Eric Blake
t stable version is 8.4). What version of coreutils is pre-installed in your redhat 5.x? -- Eric Blake ebl...@redhat.com+1-801-349-2682 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

Re: A feature request

2010-03-23 Thread Eric Blake
, if you use bash, you can add this to your ~/.bashrc, and get a mkcdir function that does exactly what you want: mkcdir () { mkdir "$1" && cd "$1" } You can even get fancier and add logic to support passing options to mkdir. -- Eric Blake ebl...@redhat.com+

Re: doc refinement request: re: definition of "word" in "wc" manpage; BUG request

2010-03-23 Thread Eric Blake
are welcome; would you like to try your hand at submitting a patch for src/wc.c, in the usage() function, to alter the wording according to your desires? -- Eric Blake ebl...@redhat.com+1-801-349-2682 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

Re: [PATCH] Add new option --in-place

2010-03-22 Thread Eric Blake
s like an interesting filter to add. -- Eric Blake ebl...@redhat.com+1-801-349-2682 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

Re: timeout --help --help

2010-03-22 Thread Eric Blake
chroot and timeout at least should be > modified as you suggest. I still think I'm missing something though? I don't think you're missing anything. Because timeout takes options in addition to --help/--version, it does not need to use parse_long_options, but should do everything itself

Re: date bug

2010-03-20 Thread Eric Blake
Crontab uses a different set of environment variables than your login session. My guess is that you have $TZ defined differently between the two execution environments. Explicitly set TZ in your crontab if you expect the same results. -- Eric Blake ebl...@redhat.com+1-801-349-2682 Libvi

Re: [PATCH] maint: enforce one small aspect of formatting style: space-before-"("

2010-03-20 Thread Eric Blake
\ > + { echo '$(ME): the above files lack a space-before-open-paren' \ > + 1>&2; exit 1; } || :; \ > + else \ > + echo '$(ME): skipping test $@: cppi not installed'

Re: ls command

2010-03-19 Thread Eric Blake
On 03/19/2010 07:51 AM, Andreas Schwab wrote: > Eric Blake writes: > >> On 03/17/2010 04:14 PM, Andreas Schwab wrote: >>> Paul Gerber writes: >>> >>>>> /bin/ls: No match >>> >>> That message comes from the shell (csh or tcsh). >&

Re: [PATCH] rm: tweak wording about loss of data warning

2010-03-18 Thread Eric Blake
On 03/17/2010 09:36 AM, Eric Blake wrote: > Here it is in patch form. I'll commit it tomorrow unless there are > further suggestions today. > > +Note that if you use rm to remove a file, it might be possible to recover\n\ > +some of its contents, given sufficient experti

Re: Inaccurate/incorrect description of the -b option in man ls(1)

2010-03-18 Thread Eric Blake
tyle escapes; but we now have the wiggle room to change to BSD semantics, if we ever wanted to (but I agree with your decision to keep things with \n and not \012). -- Eric Blake ebl...@redhat.com+1-801-349-2682 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

Re: Inaccurate/incorrect description of the -b option in man ls(1)

2010-03-18 Thread Eric Blake
, but still legible: s/octal /c-style/ Either way, it's a one-liner that makes --help match reality. -- Eric Blake ebl...@redhat.com+1-801-349-2682 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

Re: ls command

2010-03-17 Thread Eric Blake
On 03/17/2010 04:14 PM, Andreas Schwab wrote: > Paul Gerber writes: > >>> /bin/ls: No match > > That message comes from the shell (csh or tcsh). Or bash, if you turn on the non-default failglob option (which exists to match the non-POSIXy behavior of csh). -- Eric Blak

Re: What signal should timeout send when it gets a SIGTERM?

2010-03-17 Thread Eric Blake
nice syntax-check rule to push upstream into gnulib (of course, projects with other notions of formatting style, like libvirt, would have to update cfg.mk to avoid that rule). -- Eric Blake ebl...@redhat.com+1-801-349-2682 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

Re: ls command

2010-03-17 Thread Eric Blake
wasn't clear, try: $ echo /bin/ls *.pdb *.pdb.Z *.pdb.gz to see what you are passing to ls on the command line, which might explain why ls is then issuing a message. -- Eric Blake ebl...@redhat.com+1-801-349-2682 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

[PATCH] rm: tweak wording about loss of data warning

2010-03-17 Thread Eric Blake
* src/rm.c (usage): Update wording to make two points more apparent: undelete is not trivial, and partial recovery should be a consideration factor in deciding whether rm is secure enough. Initially suggested by Reuben Thomas. --- On 03/12/2010 04:37 AM, Reuben Thomas wrote: > Just to check before

Re: SORT bug: multiple field sort gives unexpected sort order

2010-03-15 Thread Eric Blake
ot be enforced. You may want to consider using an alternative email when communicating with technical lists, so as to avoid your employer's legalese. -- Eric Blake ebl...@redhat.com+1-801-349-2682 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

Re: bug in coreutils-5.97-23 date program or is tz?

2010-03-15 Thread Eric Blake
7-23.el5_4.2 Consider upgrading - the latest stable coreutils is 8.4, and there have been some bug fixes to date in the meantime (although none in the particular behavior you were questioning, since that is not a bug). -- Eric Blake ebl...@redhat.com+1-801-349-2682 Libvirt virtualization

Re: SU tool

2010-03-15 Thread Eric Blake
[please keep the list in the loop, and please don't top-post on technical lists] On 03/14/2010 06:11 AM, islam said wrote: > Hello Eric Blake > > all i'm looking for is the -l option on aix with SU command > i tried to install the Coreutils package but it seems not working

Re: tempfile(1) in "(coreutils) shred invocation"

2010-03-12 Thread Eric Blake
or integration into GNU RCS. It seems that tempfile(1) is Debian-specific. What does tempfile(1) do that mktemp(1) does not? -- Eric Blake ebl...@redhat.com+1-801-349-2682 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

Re: Suggestion for rm(1)

2010-03-11 Thread Eric Blake
ieved ('some' is weaker than 'the', and definitely gives the desired connotation that it is not easy). Now if someone would submit this rewording in actual patch format... -- Eric Blake ebl...@redhat.com+1-801-349-2682 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

Re: SU tool

2010-03-11 Thread Eric Blake
ogram $ make $ make install will give you /usr/local/bin/su that understands -l -- Eric Blake ebl...@redhat.com+1-801-349-2682 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

Re: Suggestion for rm(1)

2010-03-10 Thread Eric Blake
r than rm at killing data, while at the same time reducing the newbie impression that recovery is easy, since it usually is not. -- Eric Blake ebl...@redhat.com+1-801-349-2682 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

Re: Bug in the sort utility

2010-03-08 Thread Eric Blake
ALL=C sort' to see the difference. > The information contained in this communication is confidential, is It is considered poor netiquette to send such emails to publicly archived lists, where they are rendered unenforceable. You may want to use a free mailer instead of your employer&#x

Re: bug with head

2010-03-05 Thread Eric Blake
ace of my gnome-terminal shows non-ASCII characters. To be expected, if any of those files had non-ASCII contents. But that does not make it a bug in head. Perhaps you wanted 'head file', rather than 'head file *'? -- Eric Blake ebl...@redhat.com+1-801-349-2682

Re: date command

2010-03-05 Thread Eric Blake
m $TZ in the environment: $ TZ=UTC date Fri Mar 5 13:45:10 UTC 2010 $ TZ=UCT date Fri Mar 5 13:45:13 UCT 2010 If it is a typo in your environment, then check your configuration files (such as ~/.bashrc...) for who might have been setting it wrongly in the first place. -- Eric Blake ebl...@

Re: you are not going to be able to sort this by the fifth field.

2010-03-04 Thread Eric Blake
of multiple separate lines of underscores, one per key, much easier to follow in understanding how each line is broken down into fields and keys, than I would in trying to parse inline notations that change the line's contents. -- Eric Blake ebl...@redhat.com+1-801-349-2682 Libvirt virt

Re: [Patch In Progress] rm -d, --directory

2010-03-04 Thread Eric Blake
at I marked the string for translation. Actually, depending on the syscall you used to determine whether the directory is non-empty, you may want to use errno directly rather than hardcoding ENOTEMPTY, in case there are other failures also worth reporting. -- Eric Blake ebl...@redhat.com+1-801-349-2682 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

Re: Fw: side-effect implementing the mv command

2010-03-04 Thread Eric Blake
s hard to tell you reasons for what you are seeing. And without a more detailed explanation of what you typed, what you expected, and why what happened is different from what you expected, we can't tell whether it was your expectations or the tool that had the problem. -- Eric Blake ebl...@redhat.com+1-801-349-2682 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

Re: a different approach to autocompletion

2010-03-04 Thread Eric Blake
x and frequently changing that the work of programmable completion is better delegated to the package rather than to the programmable completion library. Coreutils probably falls in the latter (it is stable and the interfaces change slowly enough that the bash-completion project has no problem

Re: side-effect implementing the mv command

2010-03-03 Thread Eric Blake
my desktop displaying the color coding > active within the terminal for your review. The terminal color code sequence > is fairly standard and should help verify what I'm reporting. It's better to copy and paste contents of the terminal than it is to send screenshots of text data (mu

Re: side-effect implementing the mv command

2010-03-02 Thread Eric Blake
urce and destination directories? Also, are the two directories on the same disk, where rename(2) would work, or was it a cross-device move, where mv(1) has to create the copy before deleting the original? -- Don't work too hard, make some time for fun as well! Eric Blake e...@byu.net signature.asc Description: OpenPGP digital signature

Re: [PATCH] Solaris ACL handling

2010-03-02 Thread Eric Blake
Solaris 8 i386 with ZFS-backed NFSv3 mounts. I've applied your patch, after adding a ChangeLog entry. -- Eric Blake ebl...@redhat.com+1-801-349-2682 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

Re: [PATCH] md5sum: handle carriage returns at the eol in input sum files

2010-03-02 Thread Eric Blake
is certainly a step in the right direction. I'll let others decide whether to apply it, but you have my +1. -- Eric Blake ebl...@redhat.com+1-801-349-2682 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP digital signature

Re: is it a bug?

2010-03-02 Thread Eric Blake
r own locales to a specific directory. > It seems that sort doesn't depend on LC_ALL on Solaris and Cygwin, > but it does on Linux. Besides LC_ALL, what does the sort order depend > on? Build settings? LC_ALL takes precedence. But if LC_ALL is unset, then it is up to LC_COLLATE;

Re: is it a bug?

2010-03-01 Thread Eric Blake
but not with the C locale. Remember that in some locales, like en_US, whitespace is ignored as insignificant in collation. Try '... | LC_ALL=C sort' to see the difference. http://www.gnu.org/software/coreutils/faq/#Sort-does-not-sort-in-normal-order_0021 -- Eric Blake ebl...@redha

Re: [PATCH] sort: fix issues with sorting months in some locales

2010-02-26 Thread Eric Blake
According to Pádraig Brady on 2/26/2010 9:29 AM: > I'll probably add a test before pushing Also some NEWS. But the fix looks sensible to me. -- Eric Blake ebl...@redhat.com+1-801-349-2682 Libvirt virtualization library http://libvirt.org signature.asc Description: OpenPGP

Re: Please help

2010-02-26 Thread Eric Blake
t the point remains - such "helps" can only be enabled via an extension (since they change the POSIX-specified behavior), and thus do no good if a user does not request that extension. -- Don't work too hard, make some time for fun as well! Eric Blake e...@byu.net s

Re: bootstrap differences

2010-02-25 Thread Eric Blake
According to Jim Meyering on 2/23/2010 2:10 AM: >> Once that is decided, then I can merge today's changes to bootstrap into >> coreutils. > > Thanks! Here's the sync to coreutils. Anyone want to review before I push? -- Eric Blake ebl...@redhat.com+1-801-349

Re: expr say "non integer argument"

2010-02-25 Thread Eric Blake
According to Eric Blake on 2/25/2010 8:41 AM: > According to Eric Blake on 2/18/2010 7:18 AM: >> According to jida...@jidanni.org on 2/18/2010 6:54 AM: >>> EB> jidanni, it would be a two-line patch to expr.c. Would you care to >>> write >>> EB>

Re: expr say "non integer argument"

2010-02-25 Thread Eric Blake
According to Eric Blake on 2/18/2010 7:18 AM: > According to jida...@jidanni.org on 2/18/2010 6:54 AM: >> EB> jidanni, it would be a two-line patch to expr.c. Would you care to write >> EB> such a patch, rather than just complaining? >> >> It would be much more

Re: gmt utility on login server bug

2010-02-23 Thread Eric Blake
would be helpful to let us know what led you to choose this mailing address as the place to send your report, in case there is some documentation that could be patched to prevent others from making the same mistake. -- Don't work too hard, make some time for fun as well! Eric Blake e...@byu.net signature.asc Description: OpenPGP digital signature

<    5   6   7   8   9   10   11   12   13   14   >