Re: Sort bug in textutils-2.0.tar.gz

2000-03-05 Thread Jim Meyering
Thanks for the report. I believe this is not a bug in sort. This misunderstanding may be due to a weakness in the documentation. The way sort's -b modifier works is different from the way any of the other modifiers work in that it means different things when applied to the field-start than when

Re: sort order

2000-03-18 Thread Jim Meyering
Bob Manson [EMAIL PROTECTED] writes: | I guess this is more of a suggestion. I'm running RedHat 6.1 on an intel | box. [sort doesn't work properly when LC_ALL is set to en_US] | I know how to get around this (at least *now* I do) by unsetting the | LC_ALL environment variable, or setting it to

Re: 3 is less than 20

2000-03-18 Thread Jim Meyering
Martin Pool [EMAIL PROTECTED] writes: | I have a functionality patch for GNU sort and ls in | | http://www.linuxcare.com.au/projects/natsort/ | | I'm not sure it's exactly the right behaviour yet, but would be | interested to hear what you think. Please take a look at the existing code in the

Re: Help: TextUtils FileUtils Errors in Installation.

2000-03-22 Thread Jim Meyering
Thanks for the report. Please send any future reports to the mailing address listed in the documentation ([EMAIL PROTECTED], [EMAIL PROTECTED]). That problem is fixed in the latest releases. ftp://alpha.gnu.org/gnu/fetish/fileutils-4.0q.tar.gz

Re: SPLIT ? JOIN ? Comment les utilise-t-on ????

2000-03-23 Thread Jim Meyering
HERVE ARNAUD [EMAIL PROTECTED] writes: | J ' ai divise un fichier grace a la commande split mais je n'arrive plus a | recoller les morceaux . | Je sais qu'il faut utilise la commande join mais le man de " join" n'est pas |tres explicite | et je n'arrive pas m'en sortir Once you've split

Re: OD utility bug

2000-05-01 Thread Jim Meyering
That's the required behavior on such machines. The order depends on the `endianness' of your system. If you want output that is independent of the endianness, the use a format like `-t o1': $ echo hello|od -t cx1 000 h e l l o \n 68 65 6c 6c 6f 0a 006 Rick

Re: bug in uniq (cygwin for WinNT)

2000-05-01 Thread Jim Meyering
This is not a bug in uniq. It detects identical lines only if they're adjacent. One way to remove all duplicates is to sort first: sort myfile |uniq Or use sort's -u option: sort -u myfile Matt Wolfe [EMAIL PROTECTED] writes: | All, | | First of all thanks for the great product! | |

Re: scary thing :-)

2000-05-12 Thread Jim Meyering
Thanks for the report and all the references. Here's the fix (relative to the latest test release). Now I get this: $ yes |./head -08|wc -l 8 $ yes |./head -010|wc -l 10 Index: head.c === RCS file:

Re: bug in 'sort' with '-n' or 'n' options?

2000-06-06 Thread Jim Meyering
"craig martin" [EMAIL PROTECTED] writes: | I wrote yesterday that "the sort utility program (written by Mike Haertel) that | came with my Red Hat LInux 6.2 (obtained about April 2000) and that is part of | the GNU textutils 2.0a (December 1999) seems to have a fundamental flaw".  I | have found

Re: paste issue

2000-06-24 Thread Jim Meyering
Natalie Knight [EMAIL PROTECTED] writes: | I have shell script that is calling paste that is not acting as I would | think that it would. When it gets to the paste part it should | interpret the line as paste -d'\0' p[1-40] new.file In case you haven't heard, you're misinterpreting what how

Re: Man page bug.

2000-08-29 Thread Jim Meyering
Rajesh Vaidheeswarran [EMAIL PROTECTED] writes: | I just did a `man fmt' and it came up with ... | ../src/fmt [-DIGITS] [OPTION]... [FILE]... | | I believe that the `../src/fmt' should just be `fmt', and maybe | has been inserted as part of the build process. Thanks for the report. That's

Re: sort bug

2000-11-01 Thread Jim Meyering
[EMAIL PROTECTED] wrote: | sort --version | sort (GNU textutils) 2.0e | Written by Mike Haertel. | | It places "@" ahead of "2" | | cat t.txt | a | 2 | @ | | sort t.txt | @ | 2 | a You are using the version of sort that comes with textutils-2.0 or newer and have reported a problem whereby it

Re: [Fwd: md5sum tr]

2000-11-10 Thread Jim Meyering
Jan Eggert Kofoed [EMAIL PROTECTED] wrote: | I am sorry for bothering you, but now I see that my version 1.22 is too old, | since it has been reported that 1.22q fixes the HP-UX problem with | core-dump. Should I get version 2.0? Where do I get it? The latest test release is here:

Re: bug in join ?

2000-11-24 Thread Jim Meyering
Thanks for the report. That's fixed in the latest test release. ftp://alpha.gnu.org/gnu/fetish/ $ printf '5:2:7 \n6:2:8\n' b $ printf '1:2:3\n' a $ join -t ':' -1 2 -2 2 a b|cat -A 2:1:3:5:7 $ 2:1:3:6:8$ durif_philippe [EMAIL PROTECTED] wrote: | I think there is a bug in "join" :

Re: textutils-2.0, rare build problems

2000-11-28 Thread Jim Meyering
Werner Almesberger [EMAIL PROTECTED] wrote: | When trying to build textutils-2.0 after an overly pessimistic configure | run (due to a special build environment with newlib), I found the following | two problems: Thanks for the report and patches! | - lib/memcoll.c should include sys/types.h

Re: Locale-Optimized Sort

2000-12-23 Thread Jim Meyering
Thanks for the heads-up. Even without looking at the actual bug report, I admit that this is probably a good opportunity for optimization. Of course, it'd be a trade-off (memory for speed), but it sounds reasonable. If you dive in, be sure to use the latest test release (available soon):

Re: sort (GNU textutils) 2.0

2001-01-01 Thread Jim Meyering
Bill Unruh [EMAIL PROTECTED] wrote: | Sort appears to have been created with the -f option as the default on | later versions of Linux. | Since there is no way to switch this off however, this is not a great | default You are using the version of sort that comes with textutils-2.0 or newer and

Re: problems building textutils 2.0.11 on cygwin

2001-02-07 Thread Jim Meyering
Thanks for the reports and for persisting :-) I've adjusted the tests and renamed some files for the next test release. Here's the mailing list information: [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-textutils Index: Test.pm

Re: textutils 2.0.12 on cygwin

2001-03-05 Thread Jim Meyering
Thanks for the report. How about this patch? Index: sample-vec === RCS file: /fetish/textutils/tests/sha1sum/sample-vec,v retrieving revision 1.5 diff -u -p -r1.5 sample-vec --- sample-vec 2000/11/03 11:12:01 1.5 +++ sample-vec

Re: sort bug?

2001-04-10 Thread Jim Meyering
Jan Jannink [EMAIL PROTECTED] wrote: | I'm using this version of sort: | | [jan@razor /tmp]$ sort --version | sort (GNU textutils) 2.0.11 | Written by Mike Haertel. | | This file has been sorted: | | b_1-a | b_1-a | b1-a | b_1-d | b1-d2 | b1-d2 | b1-d_2 | b1-s | b_1-w | b_1-z | b1-z | | |

Re: TODO list

2001-04-18 Thread Jim Meyering
Thanks for volunteering. That TODO list is pretty old. Several items have been done or removed. The latest test release is here: ftp://alpha.gnu.org/gnu/fetish/fileutils-4.0.43.tar.gz Something that I would really appreciate is if someone would run the Open Group's VSC-lite test suite against

Re: Bug in head

2001-04-23 Thread Jim Meyering
Till Halbach [EMAIL PROTECTED] wrote: | I figured out that when I write | | head -n 07 filename.txt | or | head -n 10 filename.txt | | everything works fine, but for | | head -n 08 filename.txt | or | head -n 09 filename.txt | | I get | | head: 08: number of lines is so large that it is not

Re: comm manpage option -3

2001-05-05 Thread Jim Meyering
Soeren Sonnenburg [EMAIL PROTECTED] wrote: | Hi, I want to report the following bug in the manpage of the 'comm' utility: | | Shouldn't it be common to both files instead of unique !!!? Yes. Thanks! I've corrected comm.c so that --help now outputs this: $ ./comm --h|grep 3 -3

Re: Request for feature in cut

2001-05-06 Thread Jim Meyering
How about using awk or perl instead? $ echo a b c d e| cut -d' ' -f 4,3 c d vs. $ echo a b c d e | awk '{ print $4, $3 }' d c $ echo a b c d e | perl -an -e 'printf $F[3] $F[2]\n' d c You could even use sed. Martin Schulte [EMAIL PROTECTED] wrote: | Sorry for writing to

Re: [erno@iki.fi: Bug#94207: fmt dumps core with large -w]

2001-05-08 Thread Jim Meyering
Thanks a lot for the report. I'll be sure this is fixed for the next test release. Herbert Xu [EMAIL PROTECTED] wrote: | This is caused by the overflowing of the COST type. On linux-i386, int and | long are of the same length, thus defining the COST as long gains nothing. | A maximum width

Re: [shorty@debian.org: Bug#80541: [Patch] GNU tail does now support option -F/--follow-forever]

2001-05-08 Thread Jim Meyering
Herbert Xu [EMAIL PROTECTED] wrote: | Full details are available at | http://bugs.debian.org/80541 | | In that thread, Christian Kurz also noted that FreeBSD's tail already | supports a -F option whose behaviour is almost identical to this proposed | option. The same is true in NetBSD.

Re: pr man page indentation poor

2001-05-10 Thread Jim Meyering
Dan Jacobson [EMAIL PROTECTED] wrote: | pr man page of GNU textutils 2.0 August 1999 | | I see lots of indentation problems on this man page, e.g. | |-J, --join-lines | merge full lines, turns off -W line truncation, no | column alignment, -S[STRING]

Re: bug in Linux /bin/sort (textutils-2.0e-8, RedHat 7.0)

2001-04-26 Thread Jim Meyering
This is a common problem. Here's the canned reply: -- You are using the version of sort that comes with textutils-2.0 or newer and have reported a problem whereby it is sorting in some non-ASCII order. That is due not to a bug in sort, but to the fact that you have set

Re: Bug in Red Hat 7.0 (Guiness)

2001-05-19 Thread Jim Meyering
SHREE RAMAN [EMAIL PROTECTED] wrote: | I have used the sort utility with the sample input: | a | A | The result expected was: | A | a | But i had got the output : | a | A. | Please help me out in this problem. Am i doing any | mistake in giving the input or does the utility has | some flaw. You

Re: textutils 2.0 sort bug: deletes incorrect /tmp files

2001-05-19 Thread Jim Meyering
Thanks for the report and patch. That part of sort has been rewritten in recent test releases. If you find that the latest version still has a problem, please report it. This is the latest test release: ftp://alpha.gnu.org/gnu/fetish/textutils-2.0.14.tar.gz Ketil Froyn [EMAIL PROTECTED]

Re: bug in sort?

2001-05-27 Thread Jim Meyering
Robert Citek [EMAIL PROTECTED] wrote: | I was working with sort and noticed that I got some errors when string | lengths were multiples of 16. Here's a bash script to demonstrate the error: | | ( c=x; list=; length=0 | for length in $(seq 1 48); do | echo length == ${length} |

Re: sort and strcoll?

2001-05-29 Thread Jim Meyering
Frank Heckenbach [EMAIL PROTECTED] wrote: | The TODO of textutils-1.22 said: | | sort: use strcoll for a slow-but-locale-aware mode | | In 2.0, this item seems to have disappeared, but I see no use of | strcoll in the sources, either (and no new options that could | activate it). | | What

Re: [PATCH] sort: EOL included in final field

2001-06-10 Thread Jim Meyering
Thanks for the report, but which version of sort are you using and how/with-what-compiler was it compiled? With 2.0(from debian) and with 2.0.14, I get this: $ printf a\na b\n|sort -c -k1,1 echo ok ok Herbert Xu [EMAIL PROTECTED] wrote: | The final newline is included in the final field

Re: bug in sort, or confusion on my part

2001-06-23 Thread Jim Meyering
Greg Lindahl [EMAIL PROTECTED] wrote: | bash$ more example | 109 bar | 111 b | 111 a | 1 10 | 9 foo | bash$ sort -k 1,1rn -k 2,2 example | 111 a | 111 b | 1 10 | 109 bar | 9 foo | | It seems that the n is making sort ignore the separator, so it sorts | 1 10 as if it were the number 110. That

Re: 'sort' seems to ignore case without any command line switches

2001-06-23 Thread Jim Meyering
Sergei Steshenko [EMAIL PROTECTED] wrote: | Hello ! | | I am using this version of 'sort' shipped with RedHat Linux 7.1: | | | [15] 17:06 [EMAIL PROTECTED]:/home/sergei which sort | /bin/sort | [16] 17:06 [EMAIL PROTECTED]:/home/sergei /bin/sort --version | sort (GNU textutils) 2.0.11 Thanks

Re: BUG REPORT

2001-07-12 Thread Jim Meyering
Stephan Menezes [EMAIL PROTECTED] wrote: | i have two simple text files FILE1andFILE2with the following | contents | | | FILE1 | FILE2 | | ccode/server.c | ccode/server1.c | ccode/server1.c | | | now when i COMM it | | $ comm -12 FILE1 FILE2 | | it gives me no output . but

Re: sort 2.0.11 core dump

2001-08-04 Thread Jim Meyering
Jim Randell [EMAIL PROTECTED] wrote: I have a problem with 'sort' core dumping on a certain file (for the most part 'sort' seems to be performing normally). I've attached an strace of the command generated with: strace -o sort-2.0.11-trace sort sort-killer I've not attached the input

Re: Is it a bug?

2001-08-18 Thread Jim Meyering
Joaquim Francisco Ferreira da Silva [EMAIL PROTECTED] wrote: Please Sir, considering the followinf file f containing the following lines: a , 1 a ; 2 a , 3 If i do: cat f | sort sort will give a , 1 a ; 2 a , 3 This is a frequently asked question. Here's the explanation:

Re: (no subject)

2001-08-24 Thread Jim Meyering
[EMAIL PROTECTED] wrote: I have a little question. When I am working with my Terminal and ask him how long the word counter is he tells me, oh, the word is longer than it is. For example: I tell him foo bar and I count up to seven characters, you know, he says stupiderweise eight, damn it

Re: Bug in /bin/sort

2001-08-25 Thread Jim Meyering
Dan Gleeson [EMAIL PROTECTED] wrote: I found a bug in /bin/sort. Thanks for the report, but that's not a bug. - You are using the version of sort that comes with textutils-2.0 or newer and have reported a problem whereby it is sorting in some non-ASCII order. That is due not

Re: [erno@iki.fi: Bug#94207: fmt dumps core with large -w]

2001-09-12 Thread Jim Meyering
Herbert Xu [EMAIL PROTECTED] wrote: ... (erno@fabulous) /tmp % fmt -w 10 /etc/fstab [snip output] zsh: segmentation fault (core dumped) fmt -w 10 /etc/fstab Thanks for the report. Here's a patch: The command `echo foo| fmt -w 10' would cause fmt to segfault.

Re: bug in the latest sort program ?

2001-09-20 Thread Jim Meyering
Chan Ting [EMAIL PROTECTED] wrote: I found that there is the bug in standard linux sort program (textutils rpm) version 2.0.11-7 which is included in redhat 7.1, then I update it to 2.0.14-2 but the problem still remain. Then I downgrade the rpm to textutils-2.0a-2, it solved the problem.

Re: bug in sort 2.0e

2001-10-07 Thread Jim Meyering
Bob Proulx [EMAIL PROTECTED] wrote: Peter sort fails for me on the attached file. Here is all the version information: Thanks for the report and for supplying all of the needed version information. That was great. [urbi@lsec2 oracle]$ sort --version sort (GNU textutils) 2.0e

Re: [textutils-2.0] [od] feature suggestion

2001-10-11 Thread Jim Meyering
Roth, Kevin P. [EMAIL PROTECTED] wrote: My platform:   $ uname -a   CYGWIN_NT-5.0 FDYP143578 1.3.3(0.46/3/2) 2001-09-12 23:54 i686 unknown I was attempting to get od to output hex characters and ascii characters lined up on top of each other, like so:    000  t  h  i  s i  s

Re: textutils-2.0.18 - undefined __unbounded in regex.c

2001-12-02 Thread Jim Meyering
Thanks for the report and patch. I'll request that it be fixed in the GNU C library (from whence that file comes). Uwe H. Steinfeld [EMAIL PROTECTED] wrote: some systems do not #define __unbounded (e.g. Cygwin). I suggest to add the following patch to lib/regex.c

Re: tail -f and tail --follow=name in pipe

2001-12-05 Thread Jim Meyering
Ernst Kloppenburg [EMAIL PROTECTED] wrote: I am using 'tail' from textutils 2.0-6 on a Debian GNU/Linux system. When tail is used in a pipe, it behaves strangely when the option --follow=name is given. The behaviour I found strange is illustrated by the following example: 1) tail -f

not a bug [Re: Bug in sort

2002-01-12 Thread Jim Meyering
You wrote: [...sort -M doesn't work the way I expect it to...] Thanks for the report, but that's not due to a bug. Two things might be causing trouble here: - a common misunderstanding about how sort works with byte offsets: without `-b' or the b attribute, each field includes leading

Re: comm man page misleading

2002-01-13 Thread Jim Meyering
Vibhu Mohindra [EMAIL PROTECTED] wrote: The man page says option -3 suppresses lines unique to both files. In fact -3 suppresses lines common to both files (as indicated by the info page for comm) Thanks, but that's already fixed. The latest is here:

Re: posix sort bug

2002-01-17 Thread Jim Meyering
Hi Tom, [Bill, it looks like your problem is similar] I think you're misreading the spec. It says that if any per-key option is specified, then that overrides all global ordering options for that key. The following options shall override the default ordering rules. When ordering options

Re: sort bug

2002-01-18 Thread Jim Meyering
Bill Peeler [EMAIL PROTECTED] wrote: there appears to be a bug in the sort program. sort (GNU textutils) 2.0a ... sort -t , tiny_in -k 2nbd,2nbd -k 3nbd,3nbd -k 4nbd,4nbd -k 5nbd,5nbd i ran it and got the following output: ... input file: 3,20020109184710,30,2405,94,test

Re: Bug in tr

2002-01-18 Thread Jim Meyering
Pawel Prokop [EMAIL PROTECTED] wrote: Hello I've found some problem with tr. textutils version =2.0 and =2.0.18 linux kernel version 2.2.19, 2.2.20, 2.4.7, 2.4.16 pablo@glibc:~$ echo pawel prokop rulez | tr [::] _ tr: tr.c:816: substr: Assertion `first_idx = last_idx' failed. Aborted

Re: problem compiling textutils-2.0.18

2002-01-26 Thread Jim Meyering
Jeff Dimond [EMAIL PROTECTED] wrote: I looked where you said and I do not see 2.0.19. 2.0.18 is the latest version under gnu/fetish. Where might 2.0.19 be? Hmm... sorry about that. I released 2.0.20 earlier today and have confirmed that it *is* there:

Re: 2.0.18 build error -- 'ptr' undeclared in regex.c, UnixWare 7.1.1

2002-03-07 Thread Jim Meyering
Matt Schalit [EMAIL PROTECTED] wrote: Hi folks, I need a copy of md5sum. So I decided to build textutils-2.0.18 on my UnixWare 7.1.1 box using gcc-2.95.3 and gmake. I get the following error in regex.c, but I'm not skilled enough to analyze it. Hi Matt, That was fixed in the

Re: problem with sort.

2002-04-10 Thread Jim Meyering
Luis Miguel [EMAIL PROTECTED] wrote: Hi, I get the following: ### (demo@rh71:~)$ history | grep epic | sort Violación de segmento (core dumped) (demo@rh71:~)$ file core core: ELF 32-bit LSB core file of 'sort' (signal 11), Intel 80386, version 1, from 'sort'

Re: paste documentation immprovment

2002-04-11 Thread Jim Meyering
Dan Jacobson [EMAIL PROTECTED] wrote: Gee, I sure wish the GNU paste documentation mentioned a little of this. Wonder where she learned all this. Wasn't from Info. From: laura fairhead ([EMAIL PROTECTED]) Subject: Re: print line 1 of each file, line 2 of each file... Newsgroups:

Re: sort dumps core

2002-04-12 Thread Jim Meyering
Col. G. L. Sicherman [EMAIL PROTECTED] wrote: On RedHat 7.2, GNU sort dumps core if you specify -m and any file argument but the last is empty. Example: $ sort -m /dev/null /etc/passwd Segmentation fault $ Thanks for the report. That's fixed in 2.0.20 and in the latest

Re: textutils - od 2.0.14 bug - solved

2002-05-14 Thread Jim Meyering
Tony Kocurko [EMAIL PROTECTED] wrote: Hi, I believe that lines 137 and 138 of od.c ought to be changed from this: sizeof (long int), sizeof (float), to this: sizeof (long int), sizeof (long long), sizeof (float), Without that change on our RedHat Linux 7.2 Intel

Re: textutils - od 2.0.14 bug - solved

2002-05-22 Thread Jim Meyering
Eric Backus [EMAIL PROTECTED] wrote: ... I have verified that MS Visual C++ 6.0 produces an error when given the above code. I also verified that gcc 2.95.2 accepts it without any warnings, but does produce a warning for it if given the -pedantic flag. Thanks for pointing that out. Here's an

Re: sort bug?

2002-05-28 Thread Jim Meyering
stefano federici [EMAIL PROTECTED] wrote: It seems that the -f option (that is the ignore-case option) of sort doesn't work with accented characters. For example the following command sort -f -k1 input.txt output.txt where input.txt contains: È 1 à 2 è 3 will output the following

Re: tail patch

2002-06-26 Thread Jim Meyering
Augey Mikus [EMAIL PROTECTED] wrote: I've created a patch for the tail.c file of textutils which allows for a time less than 1 for specifying refresh delay when following a file with -f. I am however, wondering why this ability wasn't added earlier. This option is available for other

Re: md5sum file

2002-07-08 Thread Jim Meyering
Herbert Xu [EMAIL PROTECTED] wrote: I'm getting complaints from Debian users regarding the output of md5sum file, which is of the form: d47fe6e8023a49af77e5885275d7242f - The complainants would prefer to see: d47fe6e8023a49af77e5885275d7242f which is analogous to the behaviour cksum

Re: Bug in close_stdout_status on Solaris 2.7 and 2.8?

2002-08-25 Thread Jim Meyering
Shei, Shing-Shong [EMAIL PROTECTED] wrote: I recently compiled and installed textutils 2.1 on Solaris 2.7 and 2.8. Today we found a strange behavior in the 'cat': % cat /usr/demo/SOUND/sounds/ring.au /dev/audio (or any small size audio files there) just produces a click sound while

Re: inaccurate error message from tail

2002-09-29 Thread Jim Meyering
Mikko Tuumanen [EMAIL PROTECTED] wrote: $ tail --version tail (textutils) 2.1 Written by Paul Rubin, David MacKenzie, Ian Lance Taylor, and Jim Meyering. Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty

Re: tsort problems

2002-11-13 Thread Jim Meyering
Jack Moffitt [EMAIL PROTECTED] wrote: The arch (http://www.fifthvision.net/open/bin/view/Arch) build system relies on tsort to compute dependencies. The attached file when piped through tsort results in drastically different results on my two systems, one running tsort 2.0.21 as shipped with

Re: testutils2.1 fails to configure on HPUX 10.20 using HP tools

2002-11-26 Thread Jim Meyering
Thanks for the report. Would you please try the latest release? It may work better. ftp://alpha.gnu.org/gnu/fetish/coreutils-4.5.3.tar.gz If not, please look at config.log and see if you can find the cause. Note that the package name has changed to coreutils. Jost Martin [EMAIL PROTECTED]

Re: Bug in md5sum ?

2002-11-30 Thread Jim Meyering
Fabiani, Martin [EMAIL PROTECTED] wrote: we have tested md5sum and found that it doesn't calculate the results of the testcases in RFC1321 (see http://www.cis.ohio-state.edu/cgi-bin/rfc/rfc1321.html ). The same problem appears to md5. The only solution we've found working correctly is the

Re: tail patch - allows fractional seconds with -s

2002-12-09 Thread Jim Meyering
Matt Rickard [EMAIL PROTECTED] wrote: I have modified the GNU textutils tail.c to allow for fractional seconds with the -s option. e.g. tail -f -s 1.325 filename, rather than only whole number, as per the FIXME in the current tail.c code. The diff follows. Thanks for the patch. That has

Re: head

2002-12-10 Thread Jim Meyering
Julian Wald [EMAIL PROTECTED] wrote: I think I've found a small bug in head. If you issue head -n 09 file head: 09: number of lines is so large that it is not representable Thanks for the report. That's been fixed for some time. The latest release is here:

Re: 'tr' can't both convert case and do something else and hasbaderror messages

2003-01-08 Thread Jim Meyering
Chuck Simmons [EMAIL PROTECTED] wrote: bash-2.05a$ tr '[:upper:][:punct:]' '[:lower:][ *]' tr: tr.c:2003: main: Assertion `c1 == -1 || truncate_set1' failed. Aborted ... Thanks for the report. Use `tr --version' to report which version of tr you're using. I think that bug was fixed in

Re: Bug: unexpand (textutils-2.1)

2003-01-12 Thread Jim Meyering
wiregauze [EMAIL PROTECTED] wrote: ... --first-only option is found neither from man page nor from `unexpand --help`. (The option itself works fine since it is coded in the source.) Thanks for the report. I've fixed that. In the next release --help output will look like this: Usage:

Re: cat: invalid option -- h

2003-01-14 Thread Jim Meyering
Can cat -h be added as an alias of --help please? You can use `--h' as an abbreviation for --help. We try hard to avoid adding short-named options, since they may conflict with options already used in other implementations or in future standards.

Re: wc reallines patch

2003-02-02 Thread Jim Meyering
Have you had the time to look at my wc reallines patch? Thanks for the patch. I'm not sure it's worthwhile, but am willing to be convinced. Making your argument in the form of examples (diffs to coreutils.texi) demonstrating the usefulness of the new option would help. Here are some informal

Re: Bug in some textutils handling of fread()/EOF

2003-02-18 Thread Jim Meyering
Michael Bacarella [EMAIL PROTECTED] wrote: How to reproduce: 1. Run md5sum interactively. Make sure you're using textutils md5sum, some GNU/Linux distributions (like Debian) have their own md5sum and rename the one from textutils to something like md5sum.textutils. $

Re: documentation bug in 'join'

2003-02-19 Thread Jim Meyering
Bernhard Gabler [EMAIL PROTECTED] wrote: we found a bug in join's self-documentation: join --help produces a help text which uses 'SIDE' to describe the -a and -v options. However, the description of what SIDE stands for is missing. The same bug appears in the man page to 'join'. Thank

Re: bug in join

2003-02-26 Thread Jim Meyering
Haidong Wang [EMAIL PROTECTED] wrote: With following two simple files: test1: a f b h c g test2: 1 b 2 g c 6 join -j 2 test1 test2 gives the wrong result which is nothing. The correct result should be: G c 2 Thank you for the report, but that is

Re: I added usleep support to tail

2003-03-09 Thread Jim Meyering
Oliver Reiter [EMAIL PROTECTED] wrote: I added support for sleeping fractional seconds to tail. This is trivial but very useful, I hope it helps anyway. Please consider adding this feature. I put my patch under the GPL or LGPL, at your choice. The complete, changed tail.c is added as

Re: surprising behaviour of cut

2003-03-11 Thread Jim Meyering
Uwe Zeisberger [EMAIL PROTECTED] wrote: I'm not sure, if it's really a bug, but I expected something different: echo lala | cut -f 1,1 reports lala only once. Is it a bug or a feature? Thank you for the report, but that is the required behavior.

Re: patch to make textutils 2.1 build on AIX

2003-03-26 Thread Jim Meyering
Richard Kettlewell [EMAIL PROTECTED] wrote: textutils 2.1 defines 'bool' as an enum and then uses it as the type for a bit field member, which does not work on (at least) AIX. Patch below. Thank you for the report and patch. That's fixed in the latest test release.

Re: gnu textutils doesn't compile on IRIX 5.3

2003-03-31 Thread Jim Meyering
jason andrade [EMAIL PROTECTED] wrote: Just letting you know i cannot get gnu-textutils 2.1 to compile on SGI IRIX 5.3 (with the SGI IDO and all available public patches applied) I can't try gcc because gcc3 doesn't compiler on IRIX 5.3 either as yet :-) Thanks for the report. This version

Re: textutils 2.[01]: fmt --prefix=TAB doesn't work

2003-04-02 Thread Jim Meyering
Haakon Riiser [EMAIL PROTECTED] wrote: Are you interested in working on fmt.c? As a contributor or the principal maintainer? I have no problem As a contributor. with the former, but I don't think it's a good idea for me to take ... What else is on the to-do list? See the TODO file here,

Re: error in wc manpage

2003-06-12 Thread Jim Meyering
[EMAIL PROTECTED] wrote: error in wc manpage: wc - print the number of bytes, words, and lines in files should be: wc - print the number of lines, words, and bytes in files Thanks for reporting that. I've corrected that, as well as the similar problems in wc's --help output and in the

Re: wc problem

2003-06-14 Thread Jim Meyering
Yuval Dinari [EMAIL PROTECTED] wrote: (Well, this is not really a bug since the program behaves as specified) wc -l counts the number of newlines. If the the file doesn't end with a newline then this number is less the the number of lines in the file. Wouldn't it be nicer if wc would

Re: uniq -c outputs SPACES NUMBER TAB LINE

2003-07-18 Thread Jim Meyering
Clement Wang [EMAIL PROTECTED] wrote: echo foo |uniq -c outputs: 1\tfoo however, it seems like on other unix systems (e.g. tru64) uniq -c output a space instead of a tab. ... uniq (textutils) 2.0.14 Thank you for reporting that bug. POSIX requires a space. It is present even in the

Re: unexpand -t4 converts too much whitespace to tabs

2003-07-19 Thread Jim Meyering
Thanks for reporting that. Charles Karney [EMAIL PROTECTED] wrote: Problem The documentation for unexpand claims * that only initial whitespace is converted (unless -a is given) * that only sequences of 2 or more spaces are converted Neither of these is true for nondefault tab

Re: test suite permission denied

2003-08-22 Thread Jim Meyering
Ashley Sanders [EMAIL PROTECTED] wrote: When running make check on a feshly compiled textutils-2.1 textutils-2.1 is rather old. I suggest you use coreutils-5.0 or newer. OFFICIAL ftp://ftp.gnu.org/gnu/coreutils/coreutils-5.0.tar.bz2 (coreutils is the union of fileutils, textutils, and

Re: Bug: textutils-2.1 break, if you touch it

2003-08-30 Thread Jim Meyering
Nitin Gupta [EMAIL PROTECTED] wrote: I downloaded textutils-2.1.tar.gz from gnu website. I was trying to build textutils for our processor. I saved textutils under CVS source control (which apparently changed the timestamps of textutils-2.1 is getting old. You're not the first to make the

Re: Bug: textutils-2.1 break, if you touch it

2003-09-03 Thread Jim Meyering
Nitin Gupta [EMAIL PROTECTED] wrote: I noticed that on textutils (after touching), even if I have automake version 1.7, it was asking me to have 1.6b. I'm using automake-1.7.6 and autoconf-2.57 and have no problem. If you have errors with older versions, please upgrade. If you have problems

Re: head bug

2003-10-14 Thread Jim Meyering
Brent Wood [EMAIL PROTECTED] wrote: I was using the command cat $FILE | head -1 | wc -w to get the number of words (columns) in a line of a file This worked until the number of words got over a certain number (I haven't checked to find out where, but it looks like about 10,000) Thanks for

Re: potential tr bug

2003-10-31 Thread Jim Meyering
Grant Ballard [EMAIL PROTECTED] wrote: I can't get tr to redirect to a file or pipe to another command. Is there something I'm doing wrong (or a version that handles this better)? specific command syntax tr -d \ test.txt INPUT: d5902589 desired OUTPUT: d5902589 That works fine for me.

Re: Signal 11 in sort

2003-11-02 Thread Jim Meyering
[EMAIL PROTECTED] (Antonomasia) wrote: [EMAIL PROTECTED] pha_nt]$ sort --version sort (GNU textutils) 2.0e Thanks for the report. That version is pretty old. There have been numerous improvements. Please see if you can reproduce the problem with a newer version: STABLE

Re: tsort buggy

2003-11-27 Thread Jim Meyering
John Sellers [EMAIL PROTECTED] wrote: Attached are 3 files tosort - to be sorted badsort- what tsort in cygwin does goodlist - what tsort that works does (stnderr redirected) What version of tsort are you using? It's not very recent, based on the output you include. I suggest you try a newer

Re: Missing cast. in fnmatch_loop.c

2004-04-14 Thread Jim Meyering
Alex Cherepanov [EMAIL PROTECTED] wrote: The cast is missing in lib/fnmatch_loop.c distributed with textutils-2.1. . The patch is attached. Thank you for the patch. That's fixed in the latest coreutils release: ftp://ftp.gnu.org/gnu/coreutils/coreutils-5.2.1.tar.gz