Updated on
Page Property: JavaScript
[Japanese Page]
Eng.Home
Tools
Programming
Doodle (Jpn)
Graphics
Misc
Gate
About Me
What's New
Links (Jpn)

[Back Home]
Back Home

Read First

Complaint/Demand to Email

Tools Page


Go to [Old tools]
Some other samples exist on my [Programming] (Programing Clue) page.

Follows are text transformation tools for SED on DOS or program for DOS or Macro for MS Word & Excel or VBScript or any data in plain text (archived by LHA). They may be useful for limited person, because I wrote them for only myself. But fortunately, if you find them useful, you can use them freely. You can distribute them or can change them freely. (A copyright will be held by me though).
After you use my tools, please give me your comment, like what is ugly/excellent or what should I do, etc.
I made these scripts or programs or data with no harm, but I will not take on responsibility for their acts or for results (damage, losses etc.) by their acts or by using data/program. And I will not take on responsibility, too, for results by only having their copy without activating them.


Sed script to transform quoted printable text to normal text.

Updated on June 6, 2007

de-qprn.sed rev.6 (de-qprn.lzh 1,504 bytes)

Requires Standard SED (GNU SED or Logos SED available)
Info about de-qprn.lzh (Japanese)


Sed script to decode from url-format text to plain text.

Updated on January 31, 2003

de-urlc.sed rev.1 (de-urlc.lzh 1,398 bytes)

Requires Standard SED (GNU SED or Logos SED available)
Info about de-urlc.lzh (Japanese)


Sed script to change selected alphabet and space to Zenkaku or Hankaku character.

Updated on May 15, 1999

selehan.sed rev.0 , selezen.sed rev.0 & szen.sed rev.0 (shanzen.lzh 2,341 bytes)

Requires Standard SED (GNU SED or Logos SED available)
Info about shanzen.lzh (Japanese)


Carriage Return Remove Script 1

Updated on April 12, 1998

connect.sed rev.15 (connect.lzh 1,474 bytes)

While a open bracket is at the top of a line, line connection of that line will be canceled.
Requires Standard SED. GNU SED, Logos SED etc. available.
(Please think over a Macro for MS Word(j) to remove indented space-characters and formated carriage return characters on such an occasion)
Info about connect.lzh (Japanese)


Carriage Return Remove Script 2

Updated on Decmber 22, 1998

connect0.sed rev.0 (connect0.lzh 1,371 bytes)

Open bracket does not affect process of line connection.
Requires Standard SED. GNU SED, Logos SED etc. available.
(Please think over a Macro for MS Word(j) to remove indented space-characters and formated carriage return characters on such an occasion)
Info about connect0.lzh (Japanese)


Kanji Number to Arabic Number Transformation Script

Updated on November 23, 2019

kn2an.sed ver.2.84 (kn2an.lzh 6,730 bytes)

Requires Standard SED, but some SED can't handle this script by reason of too much commands. Refer to info about this script. Ascii-Tools SED and Logos SED can handle this script.
If you want this script on MS Word, try to use wd_kn2an.
Info about kn2an.zip (Japanese)

[note *1] Some characters corrupt with GNU sed version 1.18 + multi-byte extension 1.03.


Macro package to transform Kanji Number to Arabic Number and to mark double-byte Arabic Number and Kanji Number for MS Word 95/97/2000 for Win 95/98/Me/NT/2K/XP...

Updated on April 1, 2013

wd_kn2an.dot rev.4 (wd_kn2an.lzh 17,079 bytes)

This macro tranforms kanji number to Arabic Number and marks double-byte Arabic Number and Kanji Number with red font and bold font.
This macro does not work on Word for Mac, because this macro calls kn2an.sed opened above by DOS/Windows manner. But marking macro works on Mac, too.
Info about wd_kn2an.lzh (Japanese) // Info about kn2an.lzh (Japanese)


VBScript to transform 1byte/2byte numeric inside of string into Kanji numeric

Updated on February 18, 2005

an2kn.vbs (VBScript) (an2knvbs.lzh 630 bytes)

This script transform 1byte/2byte numeric inside of string into Kanji numeric.


VBA macro to transform from Arabic Number (up to 15-digit) to Kanji Number

Updated on n/a

Num2Knj (VBA macro)

This is not my work, but I have not written an2kn.sed yet. So I linked page for VBA macro function "Num2Knj" instead of an2kn.sed (not existence!). The macro function is introduced for MS Access, but it can use with MS Excel, too (I made it sure with MS Excel 97). When you define the function on VBA, you can use it from VBA, and can use it from worksheets. I recommend you to define the function on a certain file, and save it into library folder as an add-on file, and register it from Excel, then you can use the function always you want.


HTML Tag Remove Script; leave url info.

Updated on December 7, 2011

dehtml.sed rev.96 (dehtml.lzh 5,574 bytes)

Requires Standard SED, but some SED can't handle this script by reason of too much commands. [read note *2 (below)]
Info about dehtml.lzh (Japanese)


HTML Tag Remove Script; not leave url info.

Updated on December 7, 2011

dehtml_0.sed rev.87 (dehtml_0.lzh 5,103 bytes)

Requires Standard SED, but some SED can't handle this script by reason of too much commands. [read note *2 (below)]
Info about dehtml_0.lzh (Japanese)


HTML Tag Remove Script; not leave url info and not connect logical line. This is remade early version of dehtml.sed.

Updated on December 7, 2011

dehtml2a.sed rev.9 (dehtml2a.lzh 1,607 bytes)

Requires Standard SED.
Info about dehtml2a.lzh (Japanese)

[note *2] GNU sed version 1.18 + multi-byte extension 1.03 can handle these scripts without errors of "too many commands", but I found some funny behaviors with it. I tested some scripts with GNU sed 1.18 + mb1.03, but can't avoid them. I think GNU sed 1.18 + mb1.03 might have any bugs, so I can't adapt these scripts for it.

* Another way to remove HTML tag : Untag | Lynx


Roma-ji To Zenkaku-Hiragana Transformation Script

Updated on July 2, 1997

r2hira.sed ver.1.17 (r2hira.lzh 1,769 bytes)

Requires Standard SED. GNU SED or Logos SED etc. available.
Info about r2hira.lzh (Japanese)


Roma-ji To Zenkaku-Hiragana/Katakana or To Hankaku-alphabet Transformation Script

Updated on December 13, 1998

r2hke.sed ver.2.09 (r2hke.lzh 4,440 bytes)

Requires Standard SED, but some SED can't handle this script by reason of too much commands. ASCII-TOOLS SED and Logos SED and GNU SED version 1.18 + multi-byte extension 1.03 (and same for Win32) can handle this script.
Info about r2hke.lzh (Japanese)


Zenkaku-Hiragana To Roma-ji Transformation Script

Updated on April 9, 1998

hira2r.sed ver.1.05 (hira2r.lzh 1,397 bytes)

Requires Standard SED. GNU SED or Logos SED etc. available.
Info about hira2r.lzh (Japanese)


Hankaku-Katakana To Zenkaku-Hiragana Transformation Script

Updated on June 23, 2004

hk2zhira.sed ver.1.01 (hk2zhira.lzh 1,364 bytes)

Requires Standard SED. GNU SED or Logos SED etc. available.
Info about hk2zhira.lzh (Japanese)


* Following link is for software on vector.co.jp to transform kanji to hiragana/katakana/roma-ji (it's not mine)

Kanji2na (Vector; Windows95-98-Me - utility)
transform from kanji to hiragana or to roma-ji, and output to clipboard or file

VBA macro function for transform from Hankaku-Katakana to Zenkaku-Hiragana, or to Zenkaku-Katakana

Updated on September 7, 2007

Function HK2ZHKConv rev.4 (hkzhkcnv.lzh 1,991 bytes)

Requires MS Excel 97 or later (and maybe for Excel 95 too). This is not an add-in file, just a vba source file. This script is a combinated vb_hk2zk.bas and revised vb_hk2zh.bas. I didn't dare to use VBA function StrConv for my macro. Refer to infomation about this function for the reason not to use it.
Info about hkzhkcnv.lzh (Japanese)
* VBScript(VBS) & Windows Scripting Host(WSH) version (can run itself on Windows) (hkzhkvbs.lzh; contains 4 files; 3,159 bytes)


Macro Template file for MS Word 95/97/98/2000 to transform from Hankaku-Katakana to Zenkaku-Hiragana, or to Zenkaku-Katakana

Updated on September 7, 2006

DeHkata.dot rev.2 (dehkata.lzh 14,525 bytes)

Requires MS Word 97 or later (and maybe for Word 95 too). This template is made with function HK2ZHKConv open above this, and is made to use that function easily on MS Word.
Info about dehkata.lzh (Japanese)


VBA macro function for transform from Zenkaku-Katakana to Hankaku-Katakana

Updated on January 29, 2011

Function ZK2HKConv rev.0 (zk2hkconv.lzh 551 bytes)

Requires MS Excel 97 or later (and maybe for Excel 95 too). This is not an add-in file, just a vba source file. This function differs in my another similar function, I use VBA function StrConv for this.
Info about zk2hkconv.lzh (Japanese)


* Following link is for software on vector.co.jp to examine whether sentence include 1byte katakana (=Hankaku katakana) or to convert it into 2byte katakana (=Zenkaku katakana) (it's not mine)

NoKana.VBS (Vector; Windows95-98-Me - utility)
VBScript to examine whether sentence include 1byte katakana (=Hankaku katakana) or to convert it into 2byte katakana (=Zenkaku katakana)

VBA macro function for transform from Zenkaku-Katakana to Zenkaku-Hiragana, or vice versa

Updated on January 29, 2011

Function ZKZHConv rev.3 (zkzhconv.lzh 1,990 bytes)

Requires MS Excel 97 or later (and maybe for Excel 95 too). This is not an add-in file, just a vba source file. I didn't dare to use VBA function StrConv for my macro. Refer to infomation about this function for the reason not to use it.
Info about zkzhconv.lzh (Japanese)
* VBScript(VBS) & Windows Scripting Host(WSH) version (can run itself on Windows) (zkzh_vbs.lzh; contains 4 files; 3,389 bytes)


VBA macro function for transform from double byte of Alphabet, Numeric and Symbol to single byte of those.

Updated on August 26, 2005

Function ANZHConv rev.2 (anzhconv.lzh 671 bytes)

Requires MS Excel 97 or later (and maybe for Excel 95 too). This is not an add-in file, just a vba source file. I didn't dare to use VBA function StrConv for my macro. Refer to infomation about this function for the reason not to use it.
Info about anzhconv.lzh (Japanese)
* VBScript(VBS) & Windows Scripting Host(WSH) version (can run itself on Windows) (anzh_vbs.lzh; contains 1 file; 881 bytes)


VBA macro function for transform from single byte of Alphabet, Numeric and Symbol to double byte of those.

Updated on April 5, 2006

Function ANHZConv rev.0 (anzhconv.lzh 654 bytes)

Requires MS Excel 97 or later (and maybe for Excel 95 too). This is not an add-in file, just a vba source file. I didn't dare to use VBA function StrConv for my macro. Refer to infomation about this function for the reason not to use it.
Info about anhzconv.lzh (Japanese)
* VBScript(VBS) & Windows Scripting Host(WSH) version (can run itself on Windows) (anhz_vbs.lzh; contains 1 file; 908 bytes)


Macro Template file for MS Word 95/97/98/2000 to transform from Zenkaku(=2byte code) mumeric and symbol to Hankaku(=1byte code) or vice versa.

Updated on April 5, 2006

DeZAN.dot rev.3 (dezan.lzh 14,003 bytes)

Requires MS Word 97 or later (and maybe for Word 95 too). This template is made with functions ANZHConv and ANHZConv open above this, and is made to use those functions easily on MS Word.
Info about dezan.lzh (Japanese)


Macro AddIn file for MS Excel 97/98/2000/2003/2010/... to Transform String in Selection Range to any format

Updated on March 9, 2018

Excel AddIn to transform String to any format in selection range rev.7 (strconv_xla.zip 253,636 bytes)

Requires MS Excel 97 or later. This AddIn is to Transform String in Selection Range to any format, such as converting only Katakana from Zenkaku(=2byte code) to Hankaku(=1byte code). This AddIn is made by mixed with some functions that I've opened here, and is made to use those functions easily on MS Excel.
Info about strconv_xla.lzh (Japanese) | Sample Dialog of String Transformer


* Following link is for software to convert Alphabet/Numeric/Katakana into Zenkaku (2byte code)/Hankaku (1byte code) (it's not mine)

McrTool
Macro Template to convert Alphabet/Numeric/Katakana into Zenkaku (2byte code)/Hankaku (1byte code)

Scripts to transform from machine dependent character or check them, etc.

Updated on February 23, 2007

nec2jis1.sed rev.3 & nec2jis1.sed rev.3
mac2jis1.sed rev.3 & mac2jis2.sed rev.2
jis1997.sed & genbun.sed rev.1 & chkizon.sed rev.1
(nec2jis.lzh 17,584 bytes)

Transformer from machine dependent character (so-called NEC / IBM / Mac enhanced character) to JIS character etc. and change numeric and alphabet from full-width (= Zenkaku in Japanese = 2bytes code) to half-width (= Hankaku in Japanese = 1 byte code), and typing support script for typing text with Taiyou closed users group format.
Requires Standard SED. GNU SED or Logos SED etc. available.
Info about nec2jis.lzh (Japanese)


Program for ruleline and timestamp for Win95/98/Me/NT/2000/XP/Vista/7 DOS/Command Prompt or DOS with DPMI

Updated on March 18, 2018

tstamp.exe rev.6 (tstamp.lzh 35,654 bytes)

DOS/Command Prompt on Win95/98/Me/NT/2000/XP/Vista/7 (32bit/64bit) or native DOS with DPMI required.
Info about tstamp.lzh (Japanese)


Program to make directory with name of date and time, for Win95/98/Me/NT/2000/XP/Vista/7 DOS/Command Prompt / DOS with DPMI

Updated on March 31, 2014

mkdir_dt.exe rev.6 (mkdir_dt.lzh 48,587 bytes)

DOS/Command Prompt on Win95/98/Me/NT/2000/XP/Vista/7 (32bit/64bit) or native DOS with DPMI required.
Info about mkdir_dt.lzh (Japanese)


Program to rename file with current date and time, for Win95/98/Me/NT/2000/XP/Vista/7 DOS/Command Prompt / DOS with DPMI

Updated on March 31, 2014

rn_tstmp.exe rev.3 (rn_tstmp.lzh 50,443 bytes)

DOS/Command Prompt on Win95/98/Me/NT/2000/XP/Vista/7 (32bit/64bit) or native DOS with DPMI required.
Info about rn_tstmp.lzh (Japanese)


Macro for MS Word(j) 95/97/98/2000 etc. to remove indented space-characters and formated carriage return characters

Updated on March 22, 2005

de_hsp.dot rev.11 (de_hsp.lzh 16,706 bytes)

This macro removes space-characters for indent and carriage return characters and paragraph characters for format (not for logical paragraph) from MS Word document.
This macro also apply to plain text with same formated.
Info about de_hsp.lzh (Japanese)


Macro Template to make uniform in Desu/Masu-postfix or Dearu-postfix or Da-postfix for MS Word 95/97/98/2000 etc.

Updated on June 16, 2008

desumasu.dot rev.8 (dehyper.lzh 34,222 bytes)

This template make uniform MS Word document in Desu/Masu-postfix or Dearu-postfix or Da-postfix.

If you want to check and convert Desu/Masu-/Dearu-/Da-postfix step-by-step, you can use proofreading function of MS Word.
see for detail : How to change Desu/Masu-/Dearu-/Da-postfix format whole together using MS Word

Info about desumasu.lzh (Japanese)


Macro to remove hyper-link format for MS Word 95/97/98/2000 etc.

Updated on July 10, 2004

dehyper.dot rev.1 (dehyper.lzh 6,440 bytes)

This macro removes hyper-link format from MS Word document.
Info about dehyper.lzh (Japanese)


Trial program for solve knapsack problem for Windows 9x/NT/2000/XP or DOS

Updated on December 30, 2006

receipt4.exe rev.4 (dehyper.lzh 20,076 bytes)

DOS program to solve knapsack problem using amount up to 1000 number to get equal to goal number you need or more than that.
This program applicable calculation amount of receipt for a discount or something.
Info about receipt4.lzh (Japanese)


VBSciprt to display versions of Internet Explorer and of Outlook Express for Windows 9x/NT/2000/XP

Updated on August 11, 2004

ieoe_ver.vbs rev.0 (ieoever.lzh 247 bytes)

VBScript to display versions of Internet Explorer and Outlook Express by 1 click. That's all! :-) You don't need to do twice operations such as [Help]-> [Version] with both of application.


EPSON_Scan's delay avoider

Updated on May 9, 2012

EPSON_Scan's delay avoider (EPSONScanDelayAvoider.zip 197,688 bytes)

VBscript and BAT to avoid pc's delay with virus buster and EPSON Scan.

This tool for pc user using Virus Buster and EPSON Scan, and cannot set Virus Buster's realtime scan to except TWAIN.LOG.
Info about EPSON_Scan's delay avoider (PDF; in Japanese) | related column (in Japanese)


List of the Christian era vs Japanese Imperial era

Updated on April 2, 2019

koyomi.txt (koyomi.lzh 5,066 bytes)

Plain text in Shift-JIS.


Telephone Zoning Number Data (at November, 2004)

Updated on March 25, 2005

tel.txt rev.9 (tel2004.lzh 36,798 bytes)

Plain text in Shift-JIS. Data was made by reffering to "Hello Page" published by NTT Corp.
If you need old telephone Zoning Number, see Tools old page.
Info about tel2004.lzh (Japanese)

* Additional :
Info for NTT
Fixed Phone Zoning Number (Ministry of Internal Affairs and Communications)


Excel file to choose TEPCO's electricity rate plan

更新日: August 11, 2020

電気料金プラン選択.xls (pwrplan.zip 63,180 bytes)

Excel bookfile to choose TEPCO's electricity rate plans that were newly introduced on May 2013.
Info about pwrplan.zip (in Japanese)


DPMI:
Dos Protected Mode Interface
DOS Protected Mode Interface (DPMI) Specification
StrConv( string, conversion )
string = string to convert
conversion = {vbUpperCase | vbLowerCase | vbProperCase | vbWide | vbNarrow | vbKatakana | vbHiragana | vbUnicode | vbFromUnicode}
* refer to Help file of MS Excel or MS Access for detail. [note] VBS does not contain StrConv function.

* If you take an interest in sed, please refer to following book or web pages.
Book UNIX Power Tools   "sed & awk" Dale Doughery, O'Reilly & Associates,Inc.
Web Pages SED WA HIGURETE (Japanese) on Retroengine
SEDLEC Release 1.11
Log of "sed lecture" in FMCN on NIFTY SERVE (Japanese)
Manipulating text with sed on Operating System User's Guide
Sed - An Introduction and Tutorial (English)
[To Top]

These programs are necessary or useful to use following sed script. If you don't have sed, please download it here. If you need other programs, check listed tools sites.

Tools Site
WindowsWindows Forest
DOS/Win/Mac etc.Vector Software Pack

[mo_disk for download mark; 1662 bytes]
GNU sed version 1.18 + multi-byte extension 1.03
written by Mr.Tanimoto : NBC02362@nifty.ne.jp
I found some funny behaviors (might be bugs) with GNU sed version 1.18 + multi-byte extension 1.03, so I don't recommend this.
Marking up above is linking to Vector Design. other sed on vector web site
[mo_disk for download mark; 1662 bytes]
Logos SED
written by Mr.Nakamura : SGB01637@nifty.ne.jp
sed242.lzh 65,171 bytes
[mo_disk for download mark; 1662 bytes]
SedMac Interface (sed interface for sed Macintosh)
written by Mr.Yamashita
Marking up above is linking to Vector Design.
[mo_disk for download mark; 1662 bytes]
Corrupt Character Detector; mojibake
written by Mr.Iwasaki : GAA00717@nifty.ne.jp
mojib120.lzh 10,351 bytes

[Eng.Home] | [Tools] | [Programming] | [Doodle] | [Graphics] | [Misc] | [Gate] | [About Me] | [Links]