From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22581 invoked from network); 19 Sep 2003 21:00:27 -0000 Received: from unknown (HELO monty-python.gnu.org) (199.232.76.173) by sources.redhat.com with SMTP; 19 Sep 2003 21:00:27 -0000 Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 1A0SL1-0001E9-Lm for listarch-gnats-devel@sources.redhat.com; Fri, 19 Sep 2003 16:58:47 -0400 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22) id 1A0SKs-0001Dj-G1 for help-gnats@gnu.org; Fri, 19 Sep 2003 16:58:38 -0400 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22) id 1A0SKr-0001DU-1I for help-gnats@gnu.org; Fri, 19 Sep 2003 16:58:37 -0400 Received: from [66.47.73.70] (helo=TCNEXCHANGE.tricn.com) by monty-python.gnu.org with esmtp (Exim 4.22) id 1A0SKq-0001DI-K3 for help-gnats@gnu.org; Fri, 19 Sep 2003 16:58:36 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 content-class: urn:content-classes:message MIME-Version: 1.0 Date: Sat, 20 Sep 2003 09:46:00 -0000 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: diff-prs Thread-Index: AcN+8MrYSZ6L671+RnSkxgQu23Inqw== From: "Paul Richardson" To: Subject: diff-prs X-BeenThere: help-gnats@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: General discussion about GNU GNATS List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1265259758==" Sender: help-gnats-bounces+listarch-gnats-devel=sources.redhat.com@gnu.org Errors-To: help-gnats-bounces+listarch-gnats-devel=sources.redhat.com@gnu.org X-SW-Source: 2003-q3/txt/msg00092.txt.bz2 This is a multi-part message in MIME format. --===============1265259758== content-class: urn:content-classes:message Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C37EF0.CAE25064" This is a multi-part message in MIME format. ------_=_NextPart_001_01C37EF0.CAE25064 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-length: 640 Before I embark on learning some awk, I was wondering if anyone else in the 4.0 release of gnats. I get errors pointing to lines 24 -> 26 of diff-prs when I try and run it on our solaris system. What happens is when I invoke edit-pr and get to the point where I change the value of the state and then write the modified pr out, I get a dialogue indicating that I should give a reason for the change. The problem seems to be I the awk code in diff-prs... =20 ----------------------------------------------- Paul Richardson TriCN 164 Townsend St, Suite 10 San Francisco, Ca 94107-1989 Phone: 1.415.625.6071 fax 415.625.3616 www.tricn.com =20 ------_=_NextPart_001_01C37EF0.CAE25064 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-length: 5966

Before I embark on learning some awk, I was wondering if anyone else in the 4.0 release of gnats. I get errors pointing to lines 24 -> 26 of diff-prs when I try and run it on our solaris system. What happ= ens is when I invoke edit-pr and get to the point where I change the value of t= he state and then write the modified pr out, I get a dialogue indicating that = I should give a reason for the change. The problem seems to be I= the awk code in diff-prs…

 

---------------------------------------= --------

Paul Richard= son

TriCN

<= span style=3D'font-size:10.0pt;font-family:Arial;mso-no-proof:yes'>164 Townsen= d St, Suite 10

San Francis= co, Ca 94107-1989

Phone: 1.415.625.6071

fax 415.625.3616

www.tr= icn.com

 

=00= ------_=_NextPart_001_01C37EF0.CAE25064-- --===============1265259758== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline Content-length: 139 _______________________________________________ Help-gnats mailing list Help-gnats@gnu.org http://mail.gnu.org/mailman/listinfo/help-gnats --===============1265259758==-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27956 invoked from network); 20 Sep 2003 09:46:23 -0000 Received: from unknown (HELO monty-python.gnu.org) (199.232.76.173) by sources.redhat.com with SMTP; 20 Sep 2003 09:46:23 -0000 Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 1A0eJY-0006Jb-8h for listarch-gnats-devel@sources.redhat.com; Sat, 20 Sep 2003 05:46:04 -0400 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22) id 1A0eJO-0006Ix-Tr for help-gnats@gnu.org; Sat, 20 Sep 2003 05:45:54 -0400 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22) id 1A0eJN-0006H7-Ai for help-gnats@gnu.org; Sat, 20 Sep 2003 05:45:53 -0400 Received: from [192.18.98.34] (helo=brmea-mail-3.sun.com) by monty-python.gnu.org with esmtp (Exim 4.22) id 1A0eJM-0006G4-Nh for help-gnats@gnu.org; Sat, 20 Sep 2003 05:45:52 -0400 Received: from lego-mail1.Norway.Sun.COM ([129.159.112.5]) by brmea-mail-3.sun.com (8.12.10/8.12.9) with ESMTP id h8K9jnkv006964; Sat, 20 Sep 2003 03:45:50 -0600 (MDT) Received: from sun.com ([129.159.115.205]) by lego-mail1.Norway.Sun.COM (8.12.9+Sun/8.12.9/ENSMAIL,v2.3beta1412) with ESMTP id h8K9jm7S010040; Sat, 20 Sep 2003 11:45:48 +0200 (MEST) Message-ID: <3F6C221B.5060609@sun.com> Date: Sat, 20 Sep 2003 23:03:00 -0000 From: Yngve Svendsen User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20030916 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Paul Richardson References: In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by brmea-mail-3.sun.com id h8K9jnkv006964 Cc: help-gnats@gnu.org Subject: Re: diff-prs X-BeenThere: help-gnats@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: General discussion about GNU GNATS List-Archive: List-Post: List-Help: List-Subscribe: , Sender: help-gnats-bounces+listarch-gnats-devel=sources.redhat.com@gnu.org Errors-To: help-gnats-bounces+listarch-gnats-devel=sources.redhat.com@gnu.org X-SW-Source: 2003-q3/txt/msg00093.txt.bz2 Paul Richardson wrote: > Before I embark on learning some awk, I was wondering if anyone else in=20 > the 4.0 release of gnats. I get errors pointing to lines 24 -> 26 of=20 > diff-prs when I try and run it on our solaris system. What happens is=20 > when I invoke edit-pr and get to the point where I change the value of=20 > the state and then write the modified pr out, I get a dialogue=20 > indicating that I should give a reason for the change. The problem seems= =20 > to be I the awk code in diff-prs=85 I seem to remember that I fixed an awk-related problem on Solaris for=20 the 3.113.1 release. There was something wrong with quoting in one of=20 the calls to awk. I will try to look at it as soon as I can. Yngve Svendsen Gnatsweb maintainer _______________________________________________ Help-gnats mailing list Help-gnats@gnu.org http://mail.gnu.org/mailman/listinfo/help-gnats From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11501 invoked from network); 20 Sep 2003 23:03:38 -0000 Received: from unknown (HELO monty-python.gnu.org) (199.232.76.173) by sources.redhat.com with SMTP; 20 Sep 2003 23:03:38 -0000 Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 1A0qhe-0003w8-Vg for listarch-gnats-devel@sources.redhat.com; Sat, 20 Sep 2003 18:59:46 -0400 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22) id 1A0qhW-0003vL-1L for help-gnats@gnu.org; Sat, 20 Sep 2003 18:59:38 -0400 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22) id 1A0qhS-0003rv-9H for help-gnats@gnu.org; Sat, 20 Sep 2003 18:59:36 -0400 Received: from [192.18.98.43] (helo=brmea-mail-2.sun.com) by monty-python.gnu.org with esmtp (Exim 4.22) id 1A0qhR-0003rB-NY for help-gnats@gnu.org; Sat, 20 Sep 2003 18:59:33 -0400 Received: from lego-mail1.Norway.Sun.COM ([129.159.112.5]) by brmea-mail-2.sun.com (8.12.10/8.12.9) with ESMTP id h8KMxVxK000101; Sat, 20 Sep 2003 16:59:31 -0600 (MDT) Received: from sun.com ([129.159.115.202]) by lego-mail1.Norway.Sun.COM (8.12.9+Sun/8.12.9/ENSMAIL,v2.3beta1412) with ESMTP id h8KMxT7S012600; Sun, 21 Sep 2003 00:59:30 +0200 (MEST) Message-ID: <3F6CDC21.9020007@sun.com> Date: Mon, 22 Sep 2003 18:04:00 -0000 From: Yngve Svendsen User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20030916 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Paul Richardson References: In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by brmea-mail-2.sun.com id h8KMxVxK000101 Cc: help-gnats@gnu.org Subject: Re: diff-prs X-BeenThere: help-gnats@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: General discussion about GNU GNATS List-Archive: List-Post: List-Help: List-Subscribe: , Sender: help-gnats-bounces+listarch-gnats-devel=sources.redhat.com@gnu.org Errors-To: help-gnats-bounces+listarch-gnats-devel=sources.redhat.com@gnu.org X-SW-Source: 2003-q3/txt/msg00094.txt.bz2 Paul Richardson wrote: > Before I embark on learning some awk, I was wondering if anyone else in=20 > the 4.0 release of gnats. I get errors pointing to lines 24 -> 26 of=20 > diff-prs when I try and run it on our solaris system. What happens is=20 > when I invoke edit-pr and get to the point where I change the value of=20 > the state and then write the modified pr out, I get a dialogue=20 > indicating that I should give a reason for the change. The problem seems= =20 > to be I the awk code in diff-prs=85 I just committed a fix to CVS. Basically, /usr/bin/awk on Solaris is=20 ancient, so it doesn't support the sub command for substring=20 substitution, which is what happens on lines 24, 25 and 26 in the=20 diff-prs script. Solaris and other OSes with old awks usually have a=20 'nawk' command which is a more modern awk implementation. I have added the standard autoconf check for awk to the GNATS configure=20 setup. This basically checks for gawk, mawk, nawk, and awk, in that=20 order (gawk, GNU awk, is generally considered the best implementation),=20 and uses the best implementation available in the diff-prs script. Look at https://savannah.gnu.org/cvs/?group=3Dgnats for instructions on=20 checking out the CVS version of GNATS. Yngve Svendsen _______________________________________________ Help-gnats mailing list Help-gnats@gnu.org http://mail.gnu.org/mailman/listinfo/help-gnats