flreverse


Name

flreverse -- reverse a finite language

Synopsis

flreverse fl

flreverse <fl


Description

flreverse reverses the direction of all words in fl and writes the result on standard output. flreverse has no effect on empty languages and empty strings.

fl must conform to the Grail format for finite languages.


Examples

% cat fl
aabbcc

aaa
zzab

% flreverse fl
ccbbaa

aaa
bazz


Authors

Roger Robson, Darrell Raymond and Derick Wood, the Grail project

See also

fl(5)