Confused at your goal, might just be wording that is throwing me off. eopkg li
lists all installed packages it does not give you any relationship information. So if you are trying to see x is a dependency of y than eopkg li
is not going to help you.
If however you just want a filtered list of installed packages names without their description, that is much easier:
eopkg li | cut -d " " -f 1 | tr '\n' ' ' > ~/InstalledPackages
You could then use that output on another system to make sure they have the same packages installed:
sudo eopkg install $(cat ~/InstalledPackages)
I should point out the above commands were provided by Justin years ago, I just kept it in docs because I thought it was neat.
Although it seems overkill to me, you'd be better off paying attention to what you wanted installed an writing a script for just that for fresh installs, which is what I do.