X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;ds=sidebyside;f=mimedecode.docbook;h=fdab4766f10cd8bae30dc0352fc44e60f4ae3a74;hb=317afd59ce50fa7a87ec6b43d1b8ba5fa10255c6;hp=1e6567a4068990ad306050e9dfeb2edf05d04898;hpb=27550cf12d5e7e50f882e53e5e5a632e3758c667;p=mimedecode.git diff --git a/mimedecode.docbook b/mimedecode.docbook index 1e6567a..fdab476 100644 --- a/mimedecode.docbook +++ b/mimedecode.docbook @@ -38,7 +38,12 @@ - filename + + + + input_file + output_file + @@ -88,7 +93,7 @@ multipart/mixed, e.g) every part is recursively decoded. If it is not multipart, mailcap database is consulted to find a way to convert the body to plain text. (I have no idea how mailcap could be configured on said M$ Ophice GUI, please don't ask me; real OS users can consult my example at -http://phd.pp.ru/Software/dotfiles/mailcap.html). The decoding process uses +http://phdru.name/Software/dotfiles/mailcap.html). The decoding process uses first copiousoutput filter it can find. If there is no any filter the body just passed unconverted. @@ -235,6 +240,17 @@ flushed to stdout. + + + -o output_file + + + Useful to set the output file in case of redirected stdin: + mimedecode.py -o output_file < input_file +cat input_file | mimedecode.py -o output_file + + + @@ -246,7 +262,7 @@ else. Easy: - + mimedecode.py -t application/postscript -t application/pdf -b text/html -b 'image/*' -i '*/*' @@ -300,7 +316,7 @@ the program will recode the message to the wrong charset. AUTHOR - Oleg Broytmann <phd@phd.pp.ru> + Oleg Broytman <phd@phdru.name> @@ -308,7 +324,7 @@ the program will recode the message to the wrong charset. COPYRIGHT - Copyright (C) 2001-2004 PhiloSoft Design + Copyright (C) 2001-2014 PhiloSoft Design @@ -335,7 +351,7 @@ the program will recode the message to the wrong charset. SEE ALSO - mimedecode.py home page: http://phd.pp.ru/Software/Python/#mimedecode + mimedecode.py home page: http://phdru.name/Software/Python/#mimedecode