markus schnalke [Thu, 20 Nov 2014 10:27:49 +0000 (11:27 +0100)]
rmm: Use `refile -src' instead of a folder changing hack.
This is a cleanup for a ``hackish'' solution.
Thanks to Philipp Takacs <philipp@bureaucracy.de> for discovering this
improvement possibility and for preparing a patch.
markus schnalke [Thu, 20 Nov 2014 09:57:46 +0000 (10:57 +0100)]
Fixed a possible uninitialized variable access.
(Thanks to the compiler for reporting.)
markus schnalke [Thu, 20 Nov 2014 06:06:31 +0000 (07:06 +0100)]
coding style: Added braces even for one-line blocks
This commit changes only uip/rmm.c. It would be tedious to
change it everywhere. We can do this bit by bit as we go ...
markus schnalke [Mon, 3 Nov 2014 06:33:54 +0000 (07:33 +0100)]
Converted msgstats macros & Co. to functions and added range checks
This change is a reaction to bug, fixed in changeset 5b093c3. Although
the bug was fixed on a higher level, it would have been detected much
earlier if we would have had the range checks that we now have.
This patch was prepared by Philipp Takacs <philipp@bureaucracy.de>.
markus schnalke [Fri, 26 Sep 2014 13:38:18 +0000 (15:38 +0200)]
send: Check the draft folder only if we send msgs, not when sneding files.
Send can send files (specified by Unix path names) or messages (specified
by MH message names/sequences. (NB: It cannot send msgs from other folders
yet.) In case we've only specified files (this is done by whatnow, for
instance) we don't need to care if there is a draft folder and if it
contains any msgs.
This commit probably fixes a problem discovered by <philipp@bureaucracy.de>.
markus schnalke [Thu, 25 Sep 2014 11:17:14 +0000 (13:17 +0200)]
stringdex(): Clarified what it does
`stringdex' stands for `string index'. (See Changlog for why the `g'
was added.) This function is different to strcasestr() ... in the
order of the arguments and in the return value.
markus schnalke [Thu, 25 Sep 2014 11:04:24 +0000 (13:04 +0200)]
uprf: We don't have to implement it ourselves but can use strncasecmp()
Also clarified what an ``unsigned prefix'' really is.
I haven't changed all uses of uprf() in the code to strncasecmp(). This
could be done. I'm not sure if it would enhance the clarity of the code.
We don't need a prototype for strncasecmp(), because it's declared in
strings.h.
markus schnalke [Thu, 25 Sep 2014 10:23:19 +0000 (12:23 +0200)]
Use trim() to strip whitespace from the end of header fields
The main motivation was to ease adding attachments. You'll easy happen
to have trailing whitespace there, whereas you'll probably never want
to send files that have a name with whitespace at the end ... at least
you should never want to have or even send such files.
I don't know if it is a good idea to strip the trailing whitespace
in `anno -list' as well. I couldn't come up with an example when I
would want to keep it, hence I decided to remove it. This can be
changed back, if needed.
markus schnalke [Thu, 25 Sep 2014 10:20:11 +0000 (12:20 +0200)]
sbr/trim.c: New helper function trim(). Strips whitespace from a string.
There is already trimcpy(), which does a bit more work, but adding trim()
appears to be a useful investment.
The static function trim() in slocal needed to be renamed to not collide.
markus schnalke [Wed, 24 Sep 2014 14:38:06 +0000 (16:38 +0200)]
mhbuild: Transfer-encode MIME parts of type application always with base64
Application files likely contain NUL bytes. scan_content(), however, uses
stdio to check the files to attach. NUL bytes break these checks. Instead
of improving the checks to allow e.g. application/x-tex files to be sent
using 7bit or QP encoding, it was chosen to take the easy way and send
application files base64-encoded.
This solves a bug when attaching tar files. (tar files begin with a
header mostly filled with NUL bytes). Thanks to <philipp@bureaucracy.de>
for discovering and reporting the bug.
markus schnalke [Wed, 24 Sep 2014 09:32:48 +0000 (11:32 +0200)]
print-mimetype: fixed a syntax error
markus schnalke [Wed, 24 Sep 2014 07:58:55 +0000 (09:58 +0200)]
repl: use different format as the lead-in to quotes in replies
This format is prefered because it does not include words and is
thus independent of the language of the user.
markus schnalke [Mon, 27 May 2013 19:28:24 +0000 (21:28 +0200)]
mhbuild: Don't fail if one attaches an rfc822 message as a file
Although the form
attach: +folder 1234
is preferred, one may as well use
attach: /path/to/message.rfc822
A warning is printed though.
markus schnalke [Sat, 8 Dec 2012 22:25:26 +0000 (23:25 +0100)]
Bump version number.
This is version 0.1 plus some development changes.
markus schnalke [Sat, 8 Dec 2012 22:14:36 +0000 (23:14 +0100)]
This is mmh-0.1.
Eventually, I managed to release it ...
markus schnalke [Sat, 8 Dec 2012 22:12:32 +0000 (23:12 +0100)]
docs/README.developers: minor cleanups.
markus schnalke [Sat, 8 Dec 2012 22:05:26 +0000 (23:05 +0100)]
Added docs/DIFFERENCES_mmh_nmh.
The list is not perfect, but better than nothing.
Also added docs/schnalke-mmh.pdf to the distributed files.
markus schnalke [Sat, 8 Dec 2012 11:01:42 +0000 (12:01 +0100)]
Added my master's thesis, which explains mmh.
See also: http://marmaro.de/docs/master
markus schnalke [Sat, 8 Dec 2012 10:17:05 +0000 (11:17 +0100)]
README.developers: Various minor updates.
I also dropped the ugly double-spacing.
markus schnalke [Sat, 8 Dec 2012 10:15:12 +0000 (11:15 +0100)]
sbr/getpass.c: Removed nmh_getpass() for it is not used anymore.
markus schnalke [Sat, 8 Dec 2012 09:59:18 +0000 (10:59 +0100)]
Updated the list of documentation files to be distributed.
markus schnalke [Sat, 8 Dec 2012 09:57:47 +0000 (10:57 +0100)]
Makefile.in: Removed mmhrelease target because it's not used for mmh.
markus schnalke [Fri, 7 Dec 2012 22:51:46 +0000 (23:51 +0100)]
Reworked docs/README.developes to match mmh.
markus schnalke [Fri, 7 Dec 2012 22:04:43 +0000 (23:04 +0100)]
Delete docs/pending-release-notes as this is without value for mmh.
markus schnalke [Fri, 7 Dec 2012 22:02:55 +0000 (23:02 +0100)]
COPYRIGHT: Add a note to include mmh into nmh.
This appears to be most simple.
The remaining question: How to handle the year of the copyright notice?
markus schnalke [Fri, 7 Dec 2012 22:02:20 +0000 (23:02 +0100)]
Updated the installation instructions in INSTALL.
markus schnalke [Fri, 7 Dec 2012 22:00:57 +0000 (23:00 +0100)]
Included the relevant parts of docs/README.about into README.
Also updated the information to mmh.
markus schnalke [Tue, 4 Dec 2012 22:04:08 +0000 (23:04 +0100)]
Updated man page mh-profile(5): file(1) is not from GNU.
btw: Thanks to Dennis Herrmann (dhn) for pointing me to the whole issue.
markus schnalke [Tue, 4 Dec 2012 21:45:23 +0000 (22:45 +0100)]
Report useful error message on broken file(1).
GNU file-4.26, for instance, is known to be broken.
file(1) is the default Mime-Type-Query program.
markus schnalke [Mon, 16 Jul 2012 08:29:07 +0000 (10:29 +0200)]
Updated man page mmh-intro(7): Replaced obsolete sequence names.
Plus further minor cleanups.
markus schnalke [Mon, 16 Jul 2012 08:15:37 +0000 (10:15 +0200)]
Updated DATE, finally.
markus schnalke [Mon, 16 Jul 2012 08:09:31 +0000 (10:09 +0200)]
mhl forms: Display the sender header before the recipient headers.
This is the more natural order.
markus schnalke [Tue, 10 Jul 2012 18:54:48 +0000 (20:54 +0200)]
Minor man page fix.
markus schnalke [Tue, 10 Jul 2012 18:53:05 +0000 (20:53 +0200)]
Added Neil Rickert's mhpgp, the companion to mhsign.
Currently it is only usable on the command line directly.
In the future, it should be invoked by show(1) as needed.
markus schnalke [Mon, 9 Jul 2012 21:59:34 +0000 (23:59 +0200)]
Improved portability of mhsend(1).
Thanks to Dennis Herrmann for the bug report and patch.
markus schnalke [Sat, 7 Jul 2012 13:30:29 +0000 (15:30 +0200)]
show: Print type of MIME part instead of error message if not displayable.
A further step in the general rework of show/mhshow. Print less error
messages. Not being able to directly display some attachment is no
exceptional event, but quite normal. Therefore, no error message should
be printed but an information message that there is a MIME part.
Printing to stdout makes the message to be integrated into the normal
output.
There's more rework of show needed.
markus schnalke [Sat, 7 Jul 2012 10:33:31 +0000 (12:33 +0200)]
spost: Don't send Sign: or Enc: headers out.
Also, fixed the format of header fields with empty values. The trailing
newline is no longer stripped.
markus schnalke [Sat, 7 Jul 2012 10:31:38 +0000 (12:31 +0200)]
send: Sign and encrypt messages automatically, based on Sign: and Enc: Hdrs.
Currently, the value of the header fields is ignored. The sole presence
of such a header caused signing or encryption.
markus schnalke [Sat, 7 Jul 2012 09:14:20 +0000 (11:14 +0200)]
Removed old man page of whom.
markus schnalke [Sat, 7 Jul 2012 09:13:18 +0000 (11:13 +0200)]
whom: Suppress the separator if no hidden rcpts are present.
markus schnalke [Sat, 7 Jul 2012 08:54:20 +0000 (10:54 +0200)]
Added Neil Rickert's mhsign.
It is adjusted to mmh and thus somehow different to the original version.
mhpgp will follow soon.
markus schnalke [Sat, 7 Jul 2012 08:17:05 +0000 (10:17 +0200)]
whatnow: Changes for consistency.
Removed comments and arg names in prototypes.
markus schnalke [Sat, 7 Jul 2012 08:14:03 +0000 (10:14 +0200)]
whatnow: Re-integrated whom(1); cleanups.
Removed reference to `send -watch', which was removed in
9677896bbb11f7b49ca3e1665601407b6c7a459f
Reordered the options.
markus schnalke [Fri, 6 Jul 2012 15:51:37 +0000 (17:51 +0200)]
Re-added whom(1). This implementation is written from scratch.
This new version of whom(1) is quite different to the old one,
yet it serves the same purpose: listing the recipients of a message.
It still misses the ability to process +folder and msgs arguments.
As this implementation is new and not much practically tested,
it may change in the future, if flaws appear.
markus schnalke [Fri, 6 Jul 2012 15:47:04 +0000 (17:47 +0200)]
Minor wording change in an error message.
markus schnalke [Thu, 28 Jun 2012 22:20:45 +0000 (00:20 +0200)]
Completely removed the backup-prefix (,). We move to +trash instead.
mhbuild does not create `,foo.orig' but `foo.orig' now. Maybe it should
move the file to +trash as well ... this is likely to be changed.
Temporary files of bcc mails get removed now.
markus schnalke [Thu, 28 Jun 2012 22:14:21 +0000 (00:14 +0200)]
spost.man8: spost does read the profile now.
markus schnalke [Thu, 28 Jun 2012 21:45:01 +0000 (23:45 +0200)]
mhbuild: Fixed order of file names in error messages.
(The argument order is: rename(src, dest) and admonish("foo", "%s", "bar")
produces: ``bar foo''.)
markus schnalke [Thu, 28 Jun 2012 18:08:16 +0000 (20:08 +0200)]
Removed context_foil(). We don't need it anymore.
To not read the profile and context, don't call context_read().
Anyway, all mmh tools should read the context. slocal, which is
not truly part of mmh, does not.
markus schnalke [Wed, 27 Jun 2012 20:01:55 +0000 (22:01 +0200)]
ali: Either read default alias files or the ones on command line.
Renamed -alias to -file because the semantic changed and the new
name appears to be better suited.
markus schnalke [Wed, 27 Jun 2012 12:52:42 +0000 (14:52 +0200)]
send,spost: No more use of -alias, spost reads Aliasfile from the profile.
The profile entry Aliasfile was introduced in MH-6.7 to replace the
-alias switches. Later, the profile entry was enhanced to support multiple
files. Now that spost reads the profile itself, there is no more need
to pass the file with switches. Operating with varying sets of alias
files is now only possible with different profiles, but that should be
a rare setup.
markus schnalke [Wed, 27 Jun 2012 12:23:35 +0000 (14:23 +0200)]
spost: Read profile and context now. Removed -library switch.
spost is a full part of the mmh toolchest, hence, it shall read the
profile/context. This will remove the need to pass profile information
from send to spost via command line switches.
In January 2012, there had been a discussion on the nmh-workers ML
whether post should read the profile/context. There wasn't a clear
answer. It behavior was mainly motivated by the historic situation,
it seems. My opinion on the topic goes into the direction that every
tool that is part of the mmh toolchest should read the profile. That
is a clear and simple concept. Using MH tools without wanting to
interact with MH (like mhmail had been) is no more a practical problem.
markus schnalke [Wed, 27 Jun 2012 11:15:47 +0000 (13:15 +0200)]
mhmail: Read the context!
mhmail will change from a mailx-replacment to an alternative to
`comp -ed prompter', thus being a send front-end. Hence, mhmail
should not stay outside the profile/context respecting mmh toolchest.
markus schnalke [Wed, 27 Jun 2012 10:30:38 +0000 (12:30 +0200)]
slocal: Do not at all interact with the context or profile.
Slocal is not a true part of mmh, it is an MDA that is (currently)
shipped with the MUA mmh.
markus schnalke [Wed, 27 Jun 2012 09:34:08 +0000 (11:34 +0200)]
Merge `spost -watch' rework.
markus schnalke [Sat, 23 Jun 2012 14:29:40 +0000 (16:29 +0200)]
Added missing header. Reported by Dennis Herrmann.
It had worked on GNU/Linux, but not on FreeBSD.
markus schnalke [Fri, 22 Jun 2012 17:17:11 +0000 (19:17 +0200)]
Removed the -[no]watch flags of send and post.
Without direct SMTP delivery, they are useless.
markus schnalke [Fri, 22 Jun 2012 17:06:36 +0000 (19:06 +0200)]
whatnow: Improved the listing of available commands in the WhatNow shell.
markus schnalke [Fri, 22 Jun 2012 13:58:34 +0000 (15:58 +0200)]
mhl: Removed remaining code of obsolete -sleep switch.
The switch was used for the faceproc, for Face: header field handling.
markus schnalke [Wed, 20 Jun 2012 14:37:38 +0000 (16:37 +0200)]
Updated man page send(1) for mime-type-query instead of mhshow-suffix.
This aligns the man page to the code.
markus schnalke [Fri, 15 Jun 2012 09:02:09 +0000 (11:02 +0200)]
whatnow: Call send(1) as `send', not as `whatnow'.
markus schnalke [Fri, 15 Jun 2012 07:22:03 +0000 (09:22 +0200)]
mmh.sh: Changed from -version to -Version, here too.
markus schnalke [Thu, 14 Jun 2012 00:19:43 +0000 (02:19 +0200)]
spost: Just a move of some code.
markus schnalke [Wed, 13 Jun 2012 10:02:06 +0000 (12:02 +0200)]
Renamed switches variable to ease automatic text extraction.
Now, it's easier to get a list of all switches of a program from the
source code. The change improves the homogeneity, too.
markus schnalke [Fri, 8 Jun 2012 08:18:47 +0000 (10:18 +0200)]
Whatnow prompt: From now on, detaching only by numbers.
-n flag of `detach' is now default and thus removed.
(`alist' prints the numbers by default.)
If by mistake a whole bunch of of files was added (e.g. `attach *'),
these attachments should be removed with the editor in the draft.
markus schnalke [Fri, 8 Jun 2012 08:04:59 +0000 (10:04 +0200)]
Fixed `alist' command at whatnow prompt.
markus schnalke [Mon, 4 Jun 2012 18:23:28 +0000 (20:23 +0200)]
Removed configure flag --disable-locale and have it always enabled.
Todays system are assumed to have locale support.
markus schnalke [Fri, 1 Jun 2012 15:27:25 +0000 (17:27 +0200)]
show: Don't display strange headers by default.
This follows a suggestion by steve on the nmh-workers mailing list.
markus schnalke [Mon, 21 May 2012 19:20:38 +0000 (21:20 +0200)]
(Ignore!) Again a whitespace change for testing purposes.
markus schnalke [Mon, 21 May 2012 19:13:32 +0000 (21:13 +0200)]
(Ignore!) Removed a trailing whitespace line, just for a test.
markus schnalke [Wed, 16 May 2012 09:00:55 +0000 (11:00 +0200)]
Fixed mhl's -nobody switch.
markus schnalke [Sat, 5 May 2012 10:25:21 +0000 (12:25 +0200)]
Remove -dist from man page spost(8) because it's a hidden switch.
markus schnalke [Sat, 5 May 2012 10:19:03 +0000 (12:19 +0200)]
mhl: Removed unused digest features from mhl.
Only MIME-digest are supported now, with `forw -digest ...'.
markus schnalke [Sat, 5 May 2012 09:48:11 +0000 (11:48 +0200)]
prompter: Various rework.
Removed -kill and -erase as they are not needed anymore today.
Removed -doteof/-nodoteof. -nodoteof had been the default already.
Made the yet hidden switches -body/-nobody visible, but with a slightly
different meaning. See recent changes in the man page prompter(1) for
details. (Eventually, one can have mutt-like message composing.)
markus schnalke [Sat, 5 May 2012 09:43:24 +0000 (11:43 +0200)]
mhmail: For mailx(1) compat: A period alone on a line means EOF.
Also renamed the -body switch to -bodytext because its argument is the
body text and not a file containing the body text. The rename should
clarify this. After all, typing `-body' results in the same as typing
`-bodytext' or only `-b'.
Now, fgets() is used instead of fread(), thus not allowing null-bytes
in the input anymore. This should be no restriction.
markus schnalke [Sat, 5 May 2012 09:38:23 +0000 (11:38 +0200)]
mhmail: For mailx(1) compat: A period alone on a line means EOF.
Also renamed the -body switch to -bodytext because its argument is the
body text and not a file containing the body text. The rename should
clarify this. After all, typing `-body' results in the same as typing
`-bodytext' or only `-b'.
markus schnalke [Sat, 5 May 2012 06:14:26 +0000 (08:14 +0200)]
mhmail: Removed hidden -resent and -queued switches.
Mhmail is intended to provide only a simple mail(1) interface to mmh
for the system. For all fancy stuff, use the mmh tools directly.
The -queued switch is not supported by spost anyway. For resending
messages, use dist not mhmail.
markus schnalke [Sat, 5 May 2012 06:05:22 +0000 (08:05 +0200)]
Require at least 2 chars for `no' variants of switches.
This results in:
ali -n --> -normalize
ali -no --> ambiguous
folder -n --> unknown (don't know if this case is good)
folder -no --> ambiguous
markus schnalke [Sat, 5 May 2012 05:55:20 +0000 (07:55 +0200)]
Don't require a length for switch prefixes without good reason.
E.g. there's no reason (anymore?) to require the user to type `whatnow -prom'
when `whatnow -p' is already distinguishing.
markus schnalke [Sat, 5 May 2012 05:53:09 +0000 (07:53 +0200)]
flist: Removed the hidden -total switch.
It was simply the inverse of the visible -fast switch. -nofast was -total
and -fast was -nototal. Now, the hidden pair went away.
markus schnalke [Sat, 5 May 2012 05:51:52 +0000 (07:51 +0200)]
sortm: Removed the hidden -subject switch, which provided compat only.
Use `-textfield subject' instead.
markus schnalke [Sat, 5 May 2012 05:51:32 +0000 (07:51 +0200)]
forw: Fixed -build switch.
markus schnalke [Sat, 5 May 2012 05:51:04 +0000 (07:51 +0200)]
Added comment and removed whitespace.
markus schnalke [Tue, 1 May 2012 15:16:34 +0000 (17:16 +0200)]
Removed the altmsglink (named `@') and env var `$editalt' for repl and dist.
The env var $mhaltmsg already provides everything. We just get rid of
compat redundancy.
We also dropped the lstat() check. lstat() is POSIX and we assume any
modern Unix system to support symbolic links. Also, there's only one
invocation of lstat() left in uip/flist.c.
markus schnalke [Tue, 1 May 2012 14:18:52 +0000 (16:18 +0200)]
Man pages: Replaced \*(lq and \*(rq with ` and '.
Using the quotes directly is staight-forward and convenient to read and write.
markus schnalke [Tue, 1 May 2012 13:30:39 +0000 (15:30 +0200)]
Removed msgchk(1) as it is hardly useful without POP support.
It is questionable if msgchk(1) provides more information than:
ls -l /var/mail/meillo
It does separate between old and new mail, but that's not very useful
and can be found out with stat(1) too. A very small shell script should
be equally useful, if there's someone who really uses msgchk(1) and not
simply `inc's.
Concerning the administrative uses of msgchk(1), i.e. querying a set of
users, that's no MUA's task and thus a reason to remove the tool. But
eventually, the question remains the same: What does it provide more than
`ls -l' and `ls -lu'? Is it worth to keep it around? IMO, no.
markus schnalke [Tue, 1 May 2012 13:01:36 +0000 (15:01 +0200)]
Renamed -version switch to -Version to remove the conflict with -verbose.
Now, `mhlist -V' prints the version and `mhlist -v' lists verbosely.
There are only a few switches left that conflict on the first character,
apart from the inverted (no*) variants.
markus schnalke [Tue, 1 May 2012 12:48:59 +0000 (14:48 +0200)]
folder: Never display column headers (removed -header).
Also removed the full-stop (dot) at the end of each line. It looked rather
strange to have it there.
markus schnalke [Tue, 1 May 2012 12:38:44 +0000 (14:38 +0200)]
Bring in all of the mh-e support that is actually used
to be compiled by default, and garbage collect the stuff that is not used.
Pulled in from nmh. Thanks to Ken Hornstein.
Concerning mmh only:
- The FIXME comments about the missing checks for existing drafts.
- mh-e support of mmh is not much more than providing the -build switches.
It might get dropped in the future.
markus schnalke [Tue, 1 May 2012 11:53:32 +0000 (13:53 +0200)]
mhbuild: Removed -contentid switch, which was an Outlook 2002 workaround.
Explanation:
Outlook 2002 won't display attachments that have a Content-ID header.
This is a bug in Outlook 2002, not in mhbuild. There used to be this
-nocontentid switch to prevent Content-ID headers to be inserted. As I
consider it wrong to complicate all other MUAs instead of forcing the
developers and users of broken MUAs to fix or change their software,
I removed it.
You can still workaround the bug in the following way: invoke
`e mhbuild' manually at the Whatnow prompt and edit the draft again
thereafter, removing the Content-ID headers. Then send it.
markus schnalke [Tue, 1 May 2012 11:33:10 +0000 (13:33 +0200)]
mhlist: Always display the column header (removed -headers).
markus schnalke [Tue, 1 May 2012 11:21:16 +0000 (13:21 +0200)]
mhbuild: Don't list anything (removed -list and -header).
For displaying the MIME structure, use mhlist(1). If you are curious what
mhbuild(1) had created, simply run mhlist(1) on the same file afterwards.
markus schnalke [Tue, 1 May 2012 11:20:40 +0000 (13:20 +0200)]
mhoutsbr.c: writeBase64aux() needs not to be exported.
markus schnalke [Tue, 1 May 2012 10:32:04 +0000 (12:32 +0200)]
mhbuild: Removed -rfc934mode switch, which is only useful for non-MIME systems.
We require MIME facilities to be available.
markus schnalke [Tue, 1 May 2012 09:37:53 +0000 (11:37 +0200)]
mhbuild: Removed the -ebcdicsafe switch.
It only influenced MIME messages, where quoted-printable encoding encoded
some punctuation chars (e.g. $) as well. I guess this is not much of a
problem anymore today. The switch was deactivated by default and didn't even
appear in the 1991's version of Jerry Peek's MH book. In the 1999's version
there is a parenthesed note about the switch, not more. I guess we won't
miss it.
markus schnalke [Tue, 1 May 2012 09:19:24 +0000 (11:19 +0200)]
mhlist, mhbuild: Always evaluate realsizes of the MIME parts.
This already had been the default. Now I removed the -[no]realsize switches.
markus schnalke [Tue, 1 May 2012 08:51:40 +0000 (10:51 +0200)]
Minor improvements of man page sendfiles(1).
markus schnalke [Tue, 1 May 2012 08:44:40 +0000 (10:44 +0200)]
Minor fix: Font in man page.
markus schnalke [Tue, 1 May 2012 08:28:52 +0000 (10:28 +0200)]
burst: Fixed handling of trailing text; removed -inplace and -quiet.
The trailing text had been part of the last message extracted, now it is
ignored, conforming to the documentation.
Removing the -inplace switch (thus making -noinplace the default) simplified
the code and removed the possibility to lose data.
-quiet supressed warnings (``message is not in digest format''). Warnings
should be displayed. To though suppress them, redirect stderr to /dev/null.
I was unsure if I should make -verbose the default (i.e. remove -verbose
but have -quiet) as it provides similar useful information like inc(1).
I decided against it, because in Unix silence rules. However, I like to have
``burst: -verbose'' in my profile.
markus schnalke [Tue, 1 May 2012 06:20:23 +0000 (08:20 +0200)]
Minor refactoring.