Browse Prior Art Database

Argument Driven Internal Edit Utility

IP.com Disclosure Number: IPCOM000109188D
Original Publication Date: 1992-Aug-01
Included in the Prior Art Database: 2005-Mar-23
Document File: 1 page(s) / 46K

Publishing Venue

IBM

Related People

Dekkers, C: AUTHOR

Abstract

Disclosed is a utility for editing text files without entering a text editor. The utility can be called as a command from the operating system command line and enables the user to carry out consistent amendments in a file without entering the file.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 85% of the total text.

Argument Driven Internal Edit Utility

       Disclosed is a utility for editing text files without
entering a text editor.  The utility can be called as a command from
the operating system command line and enables the user to carry out
consistent amendments in a file without entering the file.

      The user has to specify a string within the text file to be
searched for by the utility.  Furthermore, the user has to specify
the type of editing operation to be performed on the file once the
specified string is found.

      The syntax of the utility, which is called ADIEU, is:
ADIEU ((file) target) /aa:(*)t1(*t2*)(r*(s*)) (/aa:(*)t1(*t2*)(r*
(S*)))
where:  aa = function, t = string, * = separator, r = repetition, and
s = skip.

      The following function options are available:
aa = ic     ignore case
aa = if/fn  file name of parameter parm file/target file
aa = 1a     append line with the contents "t1"
aa = 1b     insert line with the contents "t1" at top of the file
aa = 1p     insert preceding line(s) which contains "t1", line "t2"
aa = 1f     insert following line(s) which contains "t1", line "t2"
aa = 1d     delete line(s) which contains the string "t1"
aa = ds/ss  delete/search string(s) "t1"
aa = cs     change string(s) "t1" by "t2"
aa = ps/fs  text preceding/following "t1" will be replaced by "t2"
aa = os     text following "t1" will be overlaid by "t2"
aa = gp/ga  procede/append line with "t1"
Example 1:
The...