recat


Name

recat -- catenate two regular expressions

Synopsis

recat re1 re2

recat re2 <re1


Description

recat catenates re1 with re2, and writes the result on standard output.

re1 and re2 must conform to the Grail format for regular expressions.


Examples

% cat re1
{}

% cat re2
""

% cat re3
(a+b)*(abc)

% recat re1 re3
{}

% recat re2 re3
(a+b)*abc

% recat re3 re3
(a+b)*abc(a+b)*abc

Authors

Darrell Raymond and Derick Wood, the Grail project

See also

re(5)