/[mailutils]/mailutils/mail/util.c
ViewVC logotype

Diff of /mailutils/mail/util.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.25 by gray, Mon Jul 9 07:47:15 2001 UTC revision 1.26 by jkaivo, Sat Jul 21 21:50:25 2001 UTC
# Line 225  util_expand_msglist (const int argc, cha Line 225  util_expand_msglist (const int argc, cha
225              current = util_ll_add (current, x);              current = util_ll_add (current, x);
226            free (arg);            free (arg);
227          }          }
228          else if (strchr (argv[i], '[') != NULL)
229            {
230              /* attachments - GNU extension */
231              /*
232               * This is a general extension to the msglist format. Basicallay,
233               * it adds C-like array subscripting to msg numbers to allow access
234               * to just a single part of a MIME multipart message. I.e.:
235               * print 7[1],8[1-2]
236               * should print the first attachment of message 7 and the first
237               * and second attachments of message 8. The format inside the
238               * brackets is the same as a msglist, so we should be able to
239               * reuse this function for its expansion. This will primarily
240               * be used by the new decode command, which needs discussion on
241               * the mailing list to nail its syntax down (should it default to
242               * saving to a file, printing to stdout, or piping?)
243               * -- sparky
244               */
245            }
246        else        else
247          {          {
248            /* Single message.  */            /* Single message.  */

Legend:
Removed from v.1.25  
changed lines
  Added in v.1.26

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26