Dec 242017
Filter to add prefix to lines in file.
File PREFIX.ZIP from The Programmer’s Corner in
Category Word Processors
Filter to add prefix to lines in file.
File Name File Size Zip Size Zip Type
PREFIX.ASM 7296 2305 deflated
PREFIX.COM 349 349 stored
PREFIX.DOC 640 376 deflated

Download File PREFIX.ZIP Here

Contents of the PREFIX.DOC file


PREFIX.COM is a filter that requires redirection. It takes a quoted string
(either single or double quotes may be used, so long as they match, so the
alternate type quote may be used in the string) and prefixes each line of
a text file received from std input with it. This is only to be used with
ASCII text files, although line lengths may be up to 255 characters with
an 80 character prefix.

Syntax: PREFIX 'quoted string' OUTFILE

This would insert 'quoted string' before each line from INFILE and write it

Enjoy !

David L. Poskie MATRIX dBBS (608)274-2936

 December 24, 2017  Add comments

 Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>