: setglobal re = $1; shift for lib in [$ifsjoin(ARGV)] { setglobal found = $[nm $lib | egrep $re] match $found { with "" with * echo "$lib: $found" } }