Append to a record

Filter:

APPEND

Syntax:

APPEND delimiter text_string delimiter

Operands:


delimiter :: any character not used in the change strings
text_string :: any string of characters

Functional Description:

Use the APPEND stage to append a supplied string of characters onto the end of each record in the input stream. APPEND reads records from its primary input stream. The appended string is taken from the supplied parameter.

Secondary Input/Output:

None

Synonyms:

none

Usage Notes:

The following example will append the string 'ABCD' to all records of the input stream.

< /home/temp/file1.txt | append /ABCD/ | > new.txt

The following example will append the string ' A B C D ' to all records of the input stream.

< /home/temp/file1.txt | append / A B C D / | > new.txt


JAVA Pipelines

Cullen Programming logo