Click here to Skip to main content
Click here to Skip to main content

Revise

By , 9 Jul 2008
 

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

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

About the Author

Samjiman
Software Developer
United Kingdom United Kingdom
Member
I am a hobbyist programmer with an interest in C++ and Lua.
I also sometimes play bass. Wink | ;)

Sign Up to vote   Poor Excellent
Add a reason or comment to your vote: x
Votes of 3 or less require a comment

Comments and Discussions

 
You must Sign In to use this message board.
Search this forum  
    Spacing  Noise  Layout  Per page   
-- There are no messages in this forum --
Permalink | Advertise | Privacy | Mobile
Web04 | 2.6.130516.1 | Last Updated 9 Jul 2008
Article Copyright 2008 by Samjiman
Everything else Copyright © CodeProject, 1999-2013
Terms of Use
Layout: fixed | fluid