after

Echo a string after process dies
git clone _git@git.zakaria.org/after.git
Log | Files | Refs | README | LICENSE

commit aabe7fd0afc52fdca961fbd8dcef4db7cec06003
parent 60419f18481eaa0101aa7edd193b1da385665935
Author: e-zk <58356365+e-zk@users.noreply.github.com>
Date:   Tue,  8 Dec 2020 20:22:36 +1000

fix missing semicolon; fold to 80-char col

Diffstat:
Mafter.c | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/after.c b/after.c @@ -13,7 +13,8 @@ void usage(char *progname) { - printf("usage: %s [-h] [-v] [-p pid | -n process_name] -e string\n", progname); + printf("usage: %s [-h] [-v] [-p pid | -n process_name] -e string\n", + progname); } int @@ -63,7 +64,7 @@ main(int argc, char *argv[]) { int i, ch, entries; int verbose = 0, pid = 0; - char *progname = argv[0], + char *progname = argv[0]; char *pname = NULL, *cmd = NULL; char errbuf[_POSIX2_LINE_MAX];