introduce get_firstarg, get_lastarg
add in docmd support for EXTRA_SHOWDOCMD
epm-search: output used grep command too
small fixes