/usr/bin/cut

2002-05-26 Thread Frode Nordahl

Hello,

The changes done to /usr/bin/cut recently seems to have broken it.

I have fetched and built CURRENT from scratch this morning.

cut compiles and runs, but it does not cut :)


Mvh,
Frode Nordahl

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: /usr/bin/cut

2002-05-26 Thread Tim J. Robbins

On Sun, May 26, 2002 at 01:26:25PM +0200, Frode Nordahl wrote:

 cut compiles and runs, but it does not cut :)

Please give me an example of how you are invoking cut and why the output
you get is incorrect or different from -STABLE.


Tim

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: /usr/bin/cut

2002-05-26 Thread Frode Nordahl

Hi again,

I have included some examples below.

cut.broken was compiled this morning, i got the replacement cut from the
5.0-DP1 release.
Tim J. Robbins said:
 On Sun, May 26, 2002 at 01:26:25PM +0200, Frode Nordahl wrote:

 cut compiles and runs, but it does not cut :)

 Please give me an example of how you are invoking cut and why the
 output you get is incorrect or different from -STABLE.

*

%cat test.txt
abc
abc
abc
%cat test.txt | /usr/bin/cut.broken -c2-
abc
abc
abc
%cat test.txt | /usr/bin/cut -c2-
bc
bc
bc

*

 Tim

 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-current in the body of the message


-- 
Mvh,
Frode Nordahl



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message



Re: /usr/bin/cut

2002-05-26 Thread Tim J. Robbins

On Sun, May 26, 2002 at 08:52:17PM +0200, Frode Nordahl wrote:

 I have included some examples below.

[snip]

Ok, I can reproduce the problem and have fixed it in rev. 1.18. Thanks.
(Yes, I am a dunce)


Tim

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-current in the body of the message