after

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

commit 3149b12db18b193227b213c74b92d5670cfc6f94
parent c5bc1caeb50165b3e7ea4e5a16e6cbd937825d4a
Author: e-zk <58356365+e-zk@users.noreply.github.com>
Date:   Tue,  5 Jan 2021 17:25:37 +1000

man: fixed

Diffstat:
MREADME | 42+++++++++++++++++++++---------------------
1 file changed, 21 insertions(+), 21 deletions(-)

diff --git a/README b/README @@ -1,33 +1,33 @@ AFTER(1) General Commands Manual AFTER(1) -NNAAMMEE - aafftteerr - after process dies echo a string to standard output +NAME + after - after process dies echo a string to standard output -SSYYNNOOPPSSIISS - aafftteerr [--hh] [--vv] [--pp _p_i_d | --nn _p_r_o_g_r_a_m___n_a_m_e] --ee _s_t_r_i_n_g +SYNOPSIS + after [-h] [-v] [-p pid | -n program_name] -e string -DDEESSCCRRIIPPTTIIOONN - aafftteerr watches the process list for the given _p_i_d or _p_r_o_g_r_a_m___n_a_m_e. When - the process is no longer in the process list aafftteerr outputs --ee _s_t_r_i_n_g to - standard output. If both _p_i_d and _p_r_o_g_r_a_m___n_a_m_e are specified aafftteerr will - default to watching the process specified by _p_r_o_g_r_a_m___n_a_m_e. +DESCRIPTION + after watches the process list for the given pid or program_name. When + the process is no longer in the process list after outputs -e string to + standard output. If both pid and program_name are specified after will + default to watching the process specified by program_name. - In the case of using _p_r_o_g_r_a_m___n_a_m_e if there are multiple programs with - this name running all of them will have to exit before aafftteerr will echo - _s_t_r_i_n_g. + In the case of using program_name if there are multiple programs with + this name running all of them will have to exit before after will echo + string. -OOPPTTIIOONNSS - --pp _p_i_d Watch _p_i_d. +OPTIONS + -p pid Watch pid. - --nn _p_r_o_g_r_a_m___n_a_m_e - Watch _p_r_o_g_r_a_m___n_a_m_e. + -n program_name + Watch program_name. - --hh Show usage information. + -h Show usage information. - --vv Be verbose. + -v Be verbose. -EEXXAAMMPPLLEESS - Following are some examples to illustrate how aafftteerr could be useful (or +EXAMPLES + Following are some examples to illustrate how after could be useful (or not). Notify when your compiler has finished running: @@ -40,7 +40,7 @@ EEXXAAMMPPLLEESS $ after -p 2027 -e "doas zzz" | sh -SSEEEE AALLSSOO +SEE ALSO kvm_getprocs(3), kvm_open(3) OpenBSD 6.8 January 5, 2021 OpenBSD 6.8