- exec "${nmhbindir}"/inc
-else
- #### Go through all the switches so we can build the draft.
- tolist= ## To: addresses
- toarg=0 ## whether currently handling -to
- attacharg=0 ## whether currently handling -attach
- attach_send_switch_added=0 ## whether added "-attach Nmh-Attachment" switch
- body= ## contents of the message body
- bodyarg=0 ## whether currently handling -body
- cclist= ## Cc: addresses
- ccarg=0 ## whether currently handling -cc
- from= ## From: contents
- fromarg=0 ## whether currently handling -from
- headerfieldlist= ## header fields to be added to draft
- headerfieldarg=0 ## whether currently handling -headerfield
- mhmailswitch=0 ## whether currently handling any mhmail switch
- subject= ## Subject: contents
- subjectarg=0 ## whether currently handling -subject
- resent=0 ## whether resending
- postsendargs= ## switches to pass on to post or send
- post_send_switch_arg=0 ## whether currently handling a post/send switch
- use_send=0 ## use post (default) or send (-profile)
- sendsw=1 ## to send (default) or not to send
- for arg in "$@"; do
- case ${arg} in
- #### Post and send won't accept -f -or -s because they'd be
- #### ambiguous, so no conflicts with them. And they don't have
- #### -b, -c, -r, -t. For the new switches that compiled mhmail
- #### didn't have: let -p indicate mhmail -profile, not send
- #### -port. -send masks the send(1) -send switch. -attach
- #### masks the send(1) -attach switch.
- -at|-att|-atta|-attac|-attach)
- mhmailswitch=1
- attacharg=1
- use_send=1
- if [ ${attach_send_switch_added} -eq 0 ]; then
- #### Override any send -attach switch in user's profile.
- postsendargs=\
-"${postsendargs:+${postsendargs} }-attach Nmh-Attachment"
- attach_send_switch_added=1
- fi ;;
- -b|-bo|-bod|-body) mhmailswitch=1; bodyarg=1 ;;
- -c|-cc) mhmailswitch=1; ccarg=1 ;;
- -f|-fr|-fro|-from) mhmailswitch=1; fromarg=1 ;;
- -hea|-head|-heade|-header|-headerf|-headerfi|-headerfie|-headerfiel|\
+ exec "$nmhbindir"/inc
+fi
+
+#### Go through all the switches so we can build the draft.
+tolist= ## To: addresses
+toarg=0 ## whether currently handling -to
+attacharg=0 ## whether currently handling -attach
+attach_send_switch_added=0 ## whether added "-attach Nmh-Attachment" switch
+attachind=Nmh-Attachment ## attachment indicator
+body= ## contents of the message body
+bodyarg=0 ## whether currently handling -body
+cclist= ## Cc: addresses
+ccarg=0 ## whether currently handling -cc
+from= ## From: contents
+fromarg=0 ## whether currently handling -from
+headerfieldlist= ## header fields to be added to draft
+headerfieldarg=0 ## whether currently handling -headerfield
+mhmailswitch=0 ## whether currently handling any mhmail switch
+subject= ## Subject: contents
+subjectarg=0 ## whether currently handling -subject
+resent=0 ## whether resending
+postsendargs= ## switches to pass on to post or send
+post_send_switch_arg=0 ## whether currently handling a post/send switch
+use_send=0 ## use post (default) or send (-profile)
+sendsw=1 ## to send (default) or not to send
+for arg in "$@"; do
+ case $arg in
+ #### Post and send won't accept -f -or -s because they'd be
+ #### ambiguous, so no conflicts with them. And they don't have
+ #### -b, -c, -r, -t. For the new switches that compiled mhmail
+ #### didn't have: let -p indicate mhmail -profile, not send
+ #### -port. -send masks the send(1) -send switch. -attach
+ #### masks the send(1) -attach switch.
+ -at|-att|-atta|-attac|-attach)
+ mhmailswitch=1
+ attacharg=1
+ use_send=1
+ if [ $attach_send_switch_added -eq 0 ]; then
+ #### Override any send -attach switch in user's profile.
+ postsendargs="${postsendargs:+$postsendargs }-attach $attachind"
+ attach_send_switch_added=1
+ fi ;;
+ -b|-bo|-bod|-body) mhmailswitch=1; bodyarg=1 ;;
+ -c|-cc) mhmailswitch=1; ccarg=1 ;;
+ -f|-fr|-fro|-from) mhmailswitch=1; fromarg=1 ;;
+ -hea|-head|-heade|-header|-headerf|-headerfi|-headerfie|-headerfiel|\