[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
1999/06/25 07:52 from msyk
Title: [teenbbs:0166] Re:157) バッチ・ファイル訂正と補足

No.   : 166
Sender: msyk
URL   : 
Title : Re:157)バッチ・ファイル訂正と補足

13 行目の From を To に変更して下さい.

*** c:¥tmp¥mimemail.bat Thu Jun 24 14:10:20 1999
--- MIMEMAIL.BAT        Thu Jun 24 13:56:52 1999
***************
*** 12,14 ****
  echo Content-Transfer-Encoding: 7bit>> send.txt
! ygrep -=hvTb "/^$/,/^$/-1" "^From: .+@.+¥..+$" %2 >> send.txt
  echo.>> send.txt
--- 12,14 ----
  echo Content-Transfer-Encoding: 7bit>> send.txt
! ygrep -=hvTb "/^$/,/^$/-1" "^To: .+@.+¥..+$" %2 >> send.txt
  echo.>> send.txt

この掲示板から落した html テキストを htox 等を使ってプレイン・テキストに
変換してから切り出して適当なファイル名を付ければ動作するはずですが, html
テキストからそのまま切り出したのでは <, >, " がエスケープされていますし,
改行コードが ¥x0A のみなので誤動作します.

[レスを書く]