home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 11 Util
/
11-Util.zip
/
GREPEDIT.ZIP
/
GREPEDIT.DOC
next >
Wrap
Text File
|
1991-08-01
|
5KB
|
66 lines
GrepEdit by Joe McVerry
# $ GrepEdit by Joe McVerry
Copyright 1991 JOE MCVERRY Raleigh NC USA
_____________________________________________________________
This software package is supplied AS IS. I, Joe McVerry,
do not warrant that the functions contained in
this program meet any specific requirements or that
they are error free. In no event will I, Joe McVerry,
be liable for any damages arising from the use of this
program. The user assumes sole and complete responsibility
for its use.
_____________________________________________________________
This program is being distributed under the concept
of SHAREWARE. If you find yourself using it you
should register your copy.
To register for the next release
send $25.00 to:
Joe McVerry
8004 Selfridge Court
Raleigh, NC 27615
To get OS/2 C source code and register
send $54.00 and formatted floppy to:
Joe McVerry
8004 Selfridge Court
Raleigh, NC 27615
format: grepedit.EXE: [/i /v /l filename>[,<filename>,...]
You will be prompted for search and replace strings.
You can use wild cards for filenames.
Program limited to files less than 65300 bytes in length.
Option l - shows line-column and byte location of changes.
v - verify. Prompts you to complete a change.
i - shows how to register and get source code
_____________________________________________________________
The program will prompt you for your search and replacment string.
If you enter search string and there is no data then the program will
display the following message:
No input data entered
and exit with a return code of 10.
After both search and replacement strings have been entered and verified
the program will ask if you want to continue. Press Y to continue or N
to exit the program.
_____________________________________________________________
Upon program completion you will get one of two messages. The first
message is if any files you specified were changed. The message format is:
total changes = x, files changed = y, files not changed = z
where x is the total number of changes made in all files,
y is the number of files changed,
z is the number of file not changed.
The second message, which is self explanatory, is:
String not found. No files changed.
Unknown argument %s. Valid arguments i, l, and v", argv[arg_pos]);