Etymology
Today it means: Tedious digging or (figurative) research. Full definition →
From grub + -work.
Etymology from Wiktionary, CC BY-SA 4.0.