From owner-freebsd-bugs Thu Apr 1 10:50:18 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 078A815D24 for ; Thu, 1 Apr 1999 10:50:16 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.2/8.9.2) id KAA95241; Thu, 1 Apr 1999 10:50:00 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from smtp.teleway.ne.jp (smtp.teleway.ne.jp [203.140.129.13]) by hub.freebsd.org (Postfix) with ESMTP id 5A0CE15D34 for ; Thu, 1 Apr 1999 10:49:05 -0800 (PST) (envelope-from yasuf@big.or.jp) Received: from post1a.po.teleway.ne.jp (post1a.teleway.ne.jp [203.140.129.22]) by smtp.teleway.ne.jp (8.8.8/3.7W) with ESMTP id DAA01939 for ; Fri, 2 Apr 1999 03:48:46 +0900 (JST) (envelope-from yasuf@big.or.jp) Received: from localhost ([210.234.51.18]) by post1a.po.teleway.ne.jp (Post.Office MTA v3.0 release "turbo_2" ID# 110-55583U50000L50000S0V35) with ESMTP id AAA22301 for ; Fri, 2 Apr 1999 03:48:45 +0900 Message-Id: <19990402034844J.yasuf@big.or.jp> Date: Fri, 02 Apr 1999 03:48:44 +0900 From: yasuf@big.or.jp Reply-To: yasuf@big.or.jp To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/10909: send-pr doesn't work Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 10909 >Category: bin >Synopsis: /usr/bin/send-pr doesn't work >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Apr 1 10:50:00 PST 1999 >Closed-Date: >Last-Modified: >Originator: Yasuhiro Fukuma >Release: FreeBSD 4.0-CURRENT i386 >Organization: >Environment: $ uname -a FreeBSD smoove.ouchi-net.jp 4.0-CURRENT FreeBSD 4.0-CURRENT #1: Tue Mar 30 20:47:30 JST 1999 root@smoove.ouchi-net.jp:/usr/src/sys/compile/ARMADILLO i386 $ ident /usr/bin/send-pr | grep Id $Id: send-pr.sh,v 1.10 1999/03/24 17:06:47 steve Exp $ >Description: After I filled out the send-pr form, send-pr complained as follows: | sed: 1: ">Category:/{ | s||| | s|<.* ...": invalid command code > | send-pr: you must include a Category: field in your report. | Errors were found with the problem report. | a)bort, e)dit or s)end? >How-To-Repeat: Run send-pr, fill out the form, then leave the editor. >Fix: The following patch will solve the problem: Index: send-pr.sh =================================================================== RCS file: /home/ncvs/src/gnu/usr.bin/send-pr/send-pr.sh,v retrieving revision 1.10 diff -u -r1.10 send-pr.sh --- send-pr.sh 1999/03/24 17:06:47 1.10 +++ send-pr.sh 1999/04/01 18:23:09 @@ -430,7 +430,7 @@ # 4) Category # PATTERN=">Category:" - CATEGORY=`eval sed -n -e "\"$PATTERN/$SED_CMD\"" $TEMP` + CATEGORY=`eval sed -n -e "\"/$PATTERN/$SED_CMD\"" $TEMP` FOUND= for C in $CATEGORIES do >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message