Paul Eggert wrote: > Yes, 'awk' is the way to go if you want more 'join' capability (not just > treating the entire line as the key). But if the data are not large and > each key takes up the whole line, 'grep' should work fine.
The data is large, unfortunately. The two input files contain lists of symbols, when constructing a shared library. GNU libunistring has ca. 250 symbols. For small data, I would have transformed the first file to a 'sed' script, that I would then apply to the second file. But HP-UX 'sed' has a limit of 100 -e expressions per invocation. So, the solution with 'awk' is the best I can see. Thanks again, Berny! Bruno