Date: Wed, 7 Aug 1996 17:25:37 +1000 From: David Leonard <d@scry.dstc.edu.au> To: FreeBSD-gnats-submit@freebsd.org Subject: gnu/1472: send-pr could have a configurable Reply-To field Message-ID: <199608070725.RAA12062@scry.dstc.edu.au> Resent-Message-ID: <199608070730.AAA21917@freefall.freebsd.org>
index | next in thread | raw e-mail
>Number: 1472
>Category: gnu
>Synopsis: send-pr could have a configurable Reply-To field
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Aug 7 00:30:02 PDT 1996
>Last-Modified:
>Originator: David Leonard
>Organization:
DSTC, Brisbane, Australia +61 7 3365 4310
>Release: FreeBSD 2.1-STABLE i386
>Environment:
FreeBSD scry.dstc.edu.au 2.2-CURRENT FreeBSD 2.2-CURRENT #2: Fri Jul 26 17:14:34
EST 1996 d@scry.dstc.edu.au:/u2/src/freebsd/sys/sys/compile/SCRY i386
>Description:
send-pr would be nicer with a configurable Reply-To field
>How-To-Repeat:
Because I have different username on the mailhost for this site,
i have to put a reply-to on all my mail. thats fine. send-pr
assumes that your LOGNAME is your reply-to address.
>Fix:
patch below
or you way want to have the REPLY_TO envvar take precedence over
the dotfile
*** gnu/usr.bin/send-pr/send-pr.sh.orig Wed Aug 7 17:15:25 1996
--- gnu/usr.bin/send-pr/send-pr.sh Wed Aug 7 17:17:58 1996
***************
*** 81,87 ****
fi
FROM="$LOGNAME"
! REPLY_TO="$LOGNAME"
# Find out the name of the originator of this PR.
if [ -n "$NAME" ]; then
--- 81,91 ----
fi
FROM="$LOGNAME"
! if [ -f $HOME/.reply-to ]; then
! REPLY_TO="`sed -e '1q' $HOME/.reply-to`"
! elif [ -z "$REPLY_TO" ]; then
! REPLY_TO="$LOGNAME"
! fi
# Find out the name of the originator of this PR.
if [ -n "$NAME" ]; then
>Audit-Trail:
>Unformatted:
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199608070725.RAA12062>
