I always used e.g. to introduce a non-exhaustive list, as in the following sentence.
He was the school champion of many activities (e.g., chess, badminton, 110m hurdles, and high jump).
Can e.g. be used to introduce a clause?
This can be used by other modules to act accordingly, e.g. field_ui uses it to add operation links to manage fields and displays.
This is what the former CEO’s did too, e.g. John Doe did it when he was CEO between 2001 and 2006.
As StoneyB said in his comment:
Yes, it’s used exactly like for example. But eg (like for example) is
an adverbial (or adsentential), not a conjunction, so when it
introduces an independent clause it should be preceded by a semicolon.
I always follow it with a comma, but I handwave that in other folks’
Source : Link , Question Author : apaderno , Answer Author : Aaron Brown