X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=mimedecode.docbook;h=98a0dd416a9a7f5ffd868360b10df37957973fb4;hb=bf91cdc033c3740e644c79b057e8557122e5f074;hp=96e444c87dac293af372ccf5279dbade5fdb2168;hpb=ccbabf4fd66b7e04daa265959824edc8a97ffd28;p=mimedecode.git
diff --git a/mimedecode.docbook b/mimedecode.docbook
index 96e444c..98a0dd4 100644
--- a/mimedecode.docbook
+++ b/mimedecode.docbook
@@ -38,7 +38,12 @@
- filename
+
+
+
+ input_file
+ output_file
+
@@ -235,10 +240,21 @@ 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
+
+
+
- The last 4 options (-beit) require more explanation. They allow a user
+ The 4 list options (-beit) require more explanation. They allow a user
to control body decoding with great flexibility. Think about said mail
archive; for example, its maintainer wants to put there only texts, convert
Postscript/PDF to text, pass HTML and images as is, and ignore everything
@@ -246,7 +262,7 @@ else. Easy:
-
+
mimedecode.py -t application/postscript -t application/pdf -b text/html
-b 'image/*' -i '*/*'
@@ -308,7 +324,7 @@ the program will recode the message to the wrong charset.
COPYRIGHT
- Copyright (C) 2001-2010 PhiloSoft Design
+ Copyright (C) 2001-2014 PhiloSoft Design