Index: head/bin/pkill/pkill.c =================================================================== --- head/bin/pkill/pkill.c +++ head/bin/pkill/pkill.c @@ -43,6 +43,7 @@ #include #include +#include #include #include #include @@ -656,10 +657,12 @@ static int grepact(const struct kinfo_proc *kp) { + static bool first = true; - show_process(kp); - if (!quiet) + if (!quiet && !first) printf("%s", delim); + show_process(kp); + first = false; return (1); }