tcl.fl
Forms single list from two lists.
Syntax
fl file.reference1 list1 {operators} {file.reference2} {list2} fl ?
Description
forms a single list from two lists using intersection, union, or exclusion operators.
If file.reference2 is not specified, file.reference2 is assumed to be the same as file.reference1. If list2 is not specified, it is assumed to be the same as list1. If neither file2 nor list2 are specified, the effect is the same as a get-list. The created list overlays list1 in file1.
The '?' displays help text on the screen.
operators:
= Indicates an intersection. Forms list of matching items.
+ Indicates a union. Forms list of nonduplicate items.
- Indicates an exclusion. Forms list of items not in list2.
Example
fl pointer-file football.fans + baseball.fans
This creates a list of all sports fans from both lists.
fl pointer-file football.fans = baseball.fans
This creates a list of those who enjoy both sports.
fl pointer-file football.fans - baseball.fans
This creates a list of those who like football only.
See Also
User Comments
What do you think?
Share your experience or ask a question by using the form below.
Login to leave your comments.
