shabbily vs vainly

shabbily

adv
  • Done poorly or ineptly. 

  • In a shabby manner. 

vainly

adv
  • In a vain pursuit; to no avail. 

  • With a vain attitude; in a self-approving manner. 

How often have the words shabbily and vainly occurred in a corpus of books? (source: Google Ngram Viewer )