China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-06-30 02:09
中国DOS联盟论坛 » DOS学习入门 & 精彩文章 (教学室) » I find that change is a good text replacement tool View 2,242 Replies 1
Original Poster Posted 2005-10-23 23:38 ·  中国 重庆 渝中区 电信
银牌会员
★★★
Credits 2,165
Posts 730
Joined 2004-04-21 00:00
22-year member
UID 22966
Gender Male
Status Offline
I found that change is a good text replacement tool.

Accidentally discovered a program called change on the new DOS era, which is used to replace characters or 16-bit words. For example:

change test.txt /from yes /to no
Replace "yes" with "no" in the test.txt file;

change test.txt /from &h0d0a0d0a /to &h0d0a
Remove blank lines in the test.txt file.

change test.txt /text /from a* /to 999 /IN the
If there is a line in the test.txt file that contains the word 'the', then replace all substrings from the letter 'a' to the end of that word in all words in that line with '999'.

There are many other parameters, and it can handle various complex tasks. It can also work in console mode.
Floor 2 Posted 2005-10-24 13:11 ·  中国 广东 广州 海珠区 电信
金牌会员
★★★★
D◎$ Fαп
Credits 4,562
Posts 1,883
Joined 2004-01-19 00:00
22-year member
UID 15812
Gender Male
From 广东广州
Status Offline
Good. But now the domain name of the new DOS era has been changed. Although the search function in the homepage can search for a certain software, the search result is an incorrect link.

The download link of CHANGE is http://www.erols.com/waynesof/CHAN0103.ZIP
----====≡≡≡≡ 我的至爱,永远是MSDOS!≡≡≡≡====----
Forum Jump: