bug#65003: pinky's "Idle" column lost the unit

2023-08-01 Thread P
I think this may be fixed with https://github.com/coreutils/coreutils/commit/e886b300 Not at a computer to check

bug#12285: uniq on a UTF8 file with roman numerals

2012-08-26 Thread P. Michaud
Hello, I used the command uniq -dc myfile.txt' here are some lines of the output 2 ☼ turvy 2 ☼ with gay abandon 2 ☼ with reckless abandon 10 ☼ yyⅰ 9 ☼ yyⅹⅲ 2 ☼ yyⅺ 12 ☼ zzⅰ The three first lines above are correct and correspond to real duplicates lines

bug#12023: � closed (Re: bug#12023: bug of hostid cmd ?)

2012-07-23 Thread P��draig Brady
(hostname()).split('.')) | python | uniq -c cheers, P??draig.

bug#12023: bug of hostid cmd ?

2012-07-22 Thread P��draig Brady
-twiddling the IPv4 address. (This value may not be unique.) So I installed the following to reference that man page. thanks, P??draig. commit f93d5985a2bc468f9f92f3bb8dedb0d3bf0807d8 Author: P??draig Brady p...@draigbrady.com Date: Sun Jul 22 12:59:49 2012 +0100 doc: mention gethostid(3

bug#7478: Puzzled by dd

2010-11-25 Thread P��draig Brady
closing this bug, and we can reopen if you do find dd to be at issue. If you still suspect dd, then we'll need version info and straces of both commands. cheers, P??draig.

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

2010-04-22 Thread Daniel P. Berrange
On Thu, Apr 22, 2010 at 08:39:26AM -0600, Eric Blake wrote: [adding bug-coreutils] On 04/22/2010 04:37 AM, Daniel P. Berrange wrote: -if (virAsprintf(dest, exec:%s %s 2/dev/null, argstr, safe_target) 0) { +if (virAsprintf(dest, exec:%s | dd of=%s seek=%llub

Re: REMOVING THE DIRECTORY IN WHICH YOU ARE(REDHAT LINUX 9)

2007-04-07 Thread Daniele P .
On Saturday 07 April 2007 19:40, rohit sharma wrote: but how is it possible to remove the directory in which you are On unix like system files aren't really removed if they are in use. Look for example at lsof | grep deleted Regards, Daniele P

chgrp

2007-02-25 Thread Bartlomiej P. Lyson
.* are:/,/^[a-zA-Z]/p' ../README \ | sed -n '/^ */s///p' | tr -s ' ' '\n' progs-readme diff progs-makefile progs-readme rm -rf progs-readme progs-makefile cd .; grep '^# *define *S_IS' lbracket.c basename.c cat.c chgrp.c chown-core.c chmod.c chown.c chown-core.c chroot.c cksum.c comm.c cp.c

Possible bug w/sort: As of coreutils-5.9x, sort loses command-line column offset (e.g. +1.0n)

2006-04-14 Thread John P. Eisenmenger
Recently my coreutils package upgraded from version 5.2.1 to version 5.94. With the new version, specifying columnar offsets on the command line no longer works. For example, here is a tes with the old and new versions, sorting on the second column (skip 1 column). (Using /dev/null since

sort on multicolumn files

2006-02-20 Thread P Kensche
Hello, I use 4.5.3 from coreutils 5.93 and have a problem with sort. File a: a-1 1 a 0 is sorted by sort -k 1 a to a 0 a-1 1 In contrast file b: a a B a-1 b G is sorted by sort -k 1 b to a-1 b G a a

Filename pattern in grep --include=....

2006-02-01 Thread Com MN PG P E B Consultant 3
From the grep man-page: --include=PATTERN Recurse in directories only searching file matching PATTERN. What type of PATTERN can be used here (i.e. glob, regex, extended regex, etc.)? For example, I want to search recursively below a directory D, but want to check only files

Re: Linux who bug

2005-10-10 Thread P
Lord_Zanu wrote: I am a student I discover when you type: who am i, this is te result jdavid pts/10 Oct 10 14:49 (192.168.2.7 http://192.168.2.7) and whe i type: who a mi: the result is the same What does the following output? who is silly From the manpage: If ARG1 ARG2 given, -m

Re: [patch] add option to ls to display only directories

2005-08-08 Thread P
I use the following (which I don't use that often to be honest): alias lld='find -maxdepth 1 -type d ! -name .* -printf %P\n | xargs ls -lUd --color' -- Pádraig Brady - http://www.pixelbeat.org -- ___ Bug-coreutils mailing list Bug-coreutils

Re: cols command for columnar output

2005-08-08 Thread P
Stephen Jungels wrote: Because I needed nice columnar output similar to the ls command's simple file list, I went in and ripped out the columnar logic from GNU ls and created a nice simple cols command. It does one thing only and does it well, like a good UNIX command should. (pr isn't good

Re: banner

2005-07-27 Thread P
[EMAIL PROTECTED] wrote: Dear, it would be very practical if the coreutils would include the banner program of cygwin. It is practical for debugging scripts. Best regards, Let me hear something, Is it like figlet? http://www.figlet.org/ http://www.schnoggo.com/figlet.html -- Pádraig Brady

Re: New coreutil? realpath - retrieve canonicalized absolute path

2005-07-19 Thread P
Sebastian Rasmussen wrote: Below is a patch (against coreutils-cvs) that implements a new coreutil of mine, realpath, that more or less wraps the libc call realpath(3). This is done in order to allow shell scripts or users to retrieve an absolute path given a relative path. What's wrong

Re: same.c:78: error: `HAVE_LONG_FILE_NAMES' undeclared (first use in this function)

2005-07-08 Thread Gerrit P. Haase
Paul Eggert wrote: Gerrit P. Haase [EMAIL PROTECTED] writes: I also got antoher error, for module mathl this was added to Makefile.am: noinst_HEADERS += Since it was the first use of noinst_HEADERS automake chokes on it. I guess you're supposed to put noinst_HEADERS = at the top

Re: Sort FAIL!

2005-07-04 Thread P
sort -t . -k1,1g -k2,2g ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils

Re: digest algorithm performance

2005-06-21 Thread P
As ever I haven't had time to look at this yet. comments below... Jim Meyering wrote: [EMAIL PROTECTED] wrote: ... OK, I'll have a look. FreeBSD seems to be faster again, (don't compare these results to the previous mail): [I've just noticed you used `sha1' below. Is that a shell alias or

digest algorithm performance

2005-06-15 Thread P
I haven't looked too deeply into this, so this is just a heads up. I have a util which currently uses md5sum to compare file contents, and in light of the recent vulnerabilities I have decided to use _in addition_ another digest algorithm. So I compared the performance of the digests available

Re: digest algorithm performance

2005-06-15 Thread P
Jim Meyering wrote: [EMAIL PROTECTED] wrote: I haven't looked too deeply into this, so this is just a heads up. Yep. I mentioned that coreutils/TODO wrt md5sum: Look into improving the performance of md5sum. `openssl md5' is consistently about 30% faster than md5sum on an idle AMD

Re: new coreutil? shuffle - randomize file contents

2005-05-24 Thread P
James Youngman wrote: 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).

Re: sys/mount.h: present but cannot be compiled (was: no subject)

2005-04-09 Thread Steven P Schubiger
On 8 Apr, Stephen Mc Gowan wrote: : configure: WARNING: sys/mount.h: see the Autoconf documentation : configure: WARNING: sys/mount.h: section Present But Cannot Be Compiled Did you have a glance at the documentation? Steven ___ Bug-coreutils

Re: extend rm docs (was: slight 'rm --help' confusion)

2005-04-09 Thread Steven P Schubiger
On 8 Apr, Geoffrey Odhner wrote: : On Thu, 7 Apr 2005 20:01:24 +0200 (CEST) Steven Schubiger wrote: : : On 7 Apr, G. Vamsee Krishna wrote: : : : Would be nice though if it says that `rm' does the same thing : : to directories too. I still remember using `rmdir' on an empty : : directory

Re: sort 5.2.1 is VERY slow

2005-03-01 Thread P
Dick Hessel wrote: That did the trick! I did not realize that character set translations where going on . (I've never been a Unicode fan...) Thanks! Dick Note grep and sort could be more clever in this regard. Taking this example again: grep konnect 1 Out_konnect | sort --key=4 -n konnect 1 is a

Re: ls -l --no-total

2005-02-28 Thread P
Felipe Kellermann wrote: On Sat, 26 Feb 2005 5:39am +0100, Alfred M. Szmidt wrote: Did I mention ls should have a --no-total option to remove those annoying total 1120 without needing to pipe to a filter. Another possibility would be to output the `total' to stderr. The horror, why

Re: ls -l --no-total

2005-02-28 Thread P
[EMAIL PROTECTED] wrote: The POSIX specification requires that the prompt be issued to stderr:- Fair enough. Thanks for the info. What my patch essentially did was: if (isatty(stderr)) { /* interactive */ human=open(/dev/tty); fcntl(human,F_SETFD,FD_CLOEXEC); } else { human=stderr; }

Re: ls display directory context?

2005-01-20 Thread P
Andreas Schwab wrote: Nic Ferrier [EMAIL PROTECTED] writes: I've considered the semantics of the --dircontext switch. I think what I actually want is ls to be able to acknowledge what directory I told is to look in. So if I say: ls --dircontext childdir it comes back with: childdir/a.txt

Re: proposed pathchk change, in response to today's POSIX interpretation

2005-01-07 Thread P
Paul Eggert wrote: Here's a proposed patch to pathchk. It's not urgent, as pathchk conforms to POSIX now, but it implements a new -P option suggested in a POSIX interpretation released today. - -p, --portability check for all POSIX systems, not only this one\n\ + -p check

Re: base64 tool?

2004-12-21 Thread P
Simon Josefsson wrote: Is a base64 encode/decode tool suitable for coreutils? I typically use `M-: (base64-encode-string foo)' in Emacs, but I have found I often want a command line tool as well. And `echo foo|base64' is easier to type. There is a base64 module in gnulib that I think would be

Re: bug in sort numeric mode with . separator

2004-12-01 Thread P
Matthew M. Boedicker wrote: Sorry, this isn't a bug. Should have read the FAQ. export LC_ALL=POSIX fixed it. Well really that's just relying on the fact that '.' is before [0-9] in the C locale. The following is more explicit/robust and should work for all locales: echo -e

Re: [bug-grep] [patch] getting '--devices=skip' to work

2004-11-24 Thread P
Paul Eggert wrote: Tim Waugh [EMAIL PROTECTED] writes: https://bugzilla.redhat.com/beta/show_bug.cgi?id=135942 FYI this also could be a dupe: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=135905 Of the coreutils programs that use O_NONBLOCK: chown and touch don't do I/O. dd uses

Re: TERRIBLE sort performance in RedHat 9.0

2004-10-11 Thread P
I reported that: http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=82032 Pádraig. ___ Bug-coreutils mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/bug-coreutils

Re: wc can not count very large file

2004-10-07 Thread P
Jim Meyering wrote: pwu [EMAIL PROTECTED] wrote: I have tried to calculate how many lines in our project. In one directory it give me the value is 160k, but the total number for all directories are only 50k. my command is like this: find . -name '*.[ch]' |xargs wc The newlines are only 50K. I

Re: [Bug-gnulib] getline bug?

2004-10-05 Thread P
Paul Eggert wrote: Jim Meyering [EMAIL PROTECTED] writes: Simon's solution (of changing the default to be `don't use unlocked-io') is fine with me. OK, I installed the following into gnulib, so that the change is done systematically for all gnulib modules. I also installed the coreutils-relevant

Re: weird echo behaviour...

2004-09-17 Thread P
Alfred M. Szmidt wrote: Could someone explain the following behaviour for me? Because I sure do not understand it. Yes this is confusing but not incorrect. [EMAIL PROTECTED]:/tmp/foo$ touch 1 2 3 4 5 [EMAIL PROTECTED]:/tmp/foo$ foo=`ls` $foo will contain the string 1\n2\n3\n4\n5\n [EMAIL

Re: [PATCH] Re: date timezone question

2004-09-17 Thread P
Paul Eggert wrote: [EMAIL PROTECTED] writes: OK I've attached a patch that addresses question 1 above. Note this is not for merging, just for disussion really. The user-interface change sounds good, but the implementation isn't quite right. You need to temporarily set TZ all the while mktime is

Re: [PATCH] Re: date timezone question

2004-05-10 Thread P
Paul Eggert wrote: [EMAIL PROTECTED] writes: OK I've attached a patch that addresses question 1 above. Note this is not for merging, just for disussion really. The user-interface change sounds good cool, that's all I wanted to determine with the patch. but the implementation isn't quite right.

[PATCH] Re: date timezone question

2004-05-08 Thread P
[EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: Q1. Why is there a difference in the parsing of $TZ and --date ... timezone ? Q2. Why is a warning not printed when an invalid $TZ is set? $ TZ=America/Los_Angeles date Wed Mar 31 07:21:51 PST 2004 Missing info: $date --date 09:00

Possible inclusion of combine in coreutils

2004-02-24 Thread Daniel P. Valentine
Hello, When I offered the program combine to be a part of the GNU project, the reviewers suggested that it might fit in well with coreutils. Combine has similarities to join in that it matches files on keys and reports on the results. Differences are that any number of keys can be used, the

RE: coreutils uniq -d -u does not conform to POSIX

2003-05-30 Thread P
Paul Eggert wrote: I asked my students to clone Debian GNU/Linux uniq in Python, giving them a POSIX-compatible uniq to start with. Josh Hyman, one of my students, pointed out a disagreement between the two programs which turns out to be a POSIX-compatibility bug in coreutils. POSIX says

Re: coreutils uniq -d -u does not conform to POSIX

2003-05-30 Thread P
Paul Eggert wrote: [EMAIL PROTECTED] writes: There are other invalid combinations not handled either: See the last 6 lines of this patch for a summary: http://www.pixelbeat.org/patches/textutils-2.0.21-uniq-group.diff I don't quite follow. The last six lines seem to claim that the following