add myproc function. ensure glob does not fail in sgrep