Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles / desktop / Win32

Revise

1.38/5 (6 votes)
9 Jul 2008MIT 1   218  
Revise is a command line text editing tool

Introduction

Revise is a command line text editing tool, designed for quickly replacing text in a chosen file
and is intended to be a handy tool for developers to use generally and in particular with automated tasks such as those performed by Makefiles. Revise currently supports Perl-style regular expressions for matching keywords (courtesy of Boost.Regex). Although not currently available, Unicode support is planned for future releases.

Platforms

Revise is avaliable for the following 32-bit platforms:

  • Windows (MSVC++ and GCC/MinGW compiled versions)
  • Unix-like systems such as Linux, FreeBSD (GCC compiled version)

License

This program is released under the MIT License.

Usage

<code><code>revise (-v|-h) -f <file> -l <line #> -m <keyword(s)> -r <keyword(s)> [-x]

-v: Display version information (exclusive)

-h: Display help information (exclusive)

-f: Specify file to revise/edit

-l: Line number for line to revise/edit

-m: Keyword(s) to match (may be regular expression when optional -x is used)

-r: Keyword(s) to replace match(es)

-x: Use Perl-style regular expressions (opitional)

History

08/07/2008 - 09/07/2008: Revise 0.1 released.

License

This article, along with any associated source code and files, is licensed under The MIT License