addtext
Syntax | |||||||||
addtext --help addtext -r string [-t tag] addtext [-t tag] name | |||||||||
Synopsis | |||||||||
Insert a block of text or string into a text file. | |||||||||
Options | |||||||||
| |||||||||
Description | |||||||||
Inserts a block of text or string, such as Copyright or License terms, within a section of source code. The source code is read from standard input and RCS style tags of the form "$tag$" are searched for. The default tag string is " When a tag is encountered, the text contained in the text file is substituted. As with the RCS utilities, each inserted line is prefixed by the characters that prefix the line that contains the tag:
Becomes:
As with the RCS utilities, if the tag line is prefixed by " The modified source code is written to standard output. | |||||||||
Examples | |||||||||
Add the text contained in the file |