Add userarg_extract() and use it for commline args..
commitedc95123e3b0bc7cb83c6b5a6ff75fda719f0507
authorSteffen "Daode" Nurpmeso <sdaoden@users.sf.net>
Wed, 3 Oct 2012 15:42:43 +0000 (3 17:42 +0200)
committerSteffen "Daode" Nurpmeso <sdaoden@users.sf.net>
Thu, 4 Oct 2012 15:43:39 +0000 (4 17:43 +0200)
tree5dafb28ea816ba494b7cf036b62fabb7e29575de
parentce5ee5376bad07cf05eb1af5cdab8d2231e5f4e7
Add userarg_extract() and use it for commline args..

The commits
(Allow complete "to-addr"ss specs also for recipients.., 2012-09-29),
(Allow full "RFC 5322 address"es for -b and -c.., 2012-09-25) and
(Fix what -r passes through to MTA.., 2012-09-18) used sextract(),
but can chooses which separators to use depending on content.
This is not what we need for user arguments for S-nail, since
an argument like "|cat > filename.txt" will be parsed as "|cat" and
"filename.txt".

So introduce a new userarg_extract() that always chooses the version
that requires a comma separated list.
extern.h
main.c
names.c