simon-git: pid (master): Simon Tatham
Commits to Tartarus hosted VCS
tartarus-commits at lists.tartarus.org
Sat Mar 24 15:29:53 GMT 2018
TL;DR:
78c4642 Indicate useful output by exit status.
2a4afe0 Diagnostic mode for understanding match failures.
b976a0f Add python3 to interpreter list.
Repository: https://git.tartarus.org/simon/pid.git
On the web: https://git.tartarus.org/?p=simon/pid.git
Branch updated: master
Committer: Simon Tatham <anakin at pobox.com>
Date: 2018-03-24 15:29:53
commit 78c464244bbd7e2a61593a45f6e5a1ebe77e856f
web diff https://git.tartarus.org/?p=simon/pid.git;a=commitdiff;h=78c464244bbd7e2a61593a45f6e5a1ebe77e856f;hp=f729fb20df7d5968a46e12f022331ac5cd51aa2e
Author: Simon Tatham <anakin at pobox.com>
Date: Sat Mar 24 15:16:30 2018 +0000
Indicate useful output by exit status.
By vague analogy with grep (which returns success or failure depending
on whether a match was found). Also, this permits shell idioms along
the lines of
if pid=$(pid [options] some_process); then
# interact with $pid in some way - kill, strace, gdb etc
else
# some fallback thing if no pid was found
fi
pid.but | 17 +++++++++++++++++
pid.c | 7 +++++--
2 files changed, 22 insertions(+), 2 deletions(-)
commit 2a4afe0f08089558508ab32d9a87d15b6d7f014f
web diff https://git.tartarus.org/?p=simon/pid.git;a=commitdiff;h=2a4afe0f08089558508ab32d9a87d15b6d7f014f;hp=78c464244bbd7e2a61593a45f6e5a1ebe77e856f
Author: Simon Tatham <anakin at pobox.com>
Date: Sat Mar 24 15:29:18 2018 +0000
Diagnostic mode for understanding match failures.
pid.but | 6 +++++
pid.c | 79 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------
2 files changed, 74 insertions(+), 11 deletions(-)
commit b976a0f826aa250fb347cc63cf65f046d44045f9
web diff https://git.tartarus.org/?p=simon/pid.git;a=commitdiff;h=b976a0f826aa250fb347cc63cf65f046d44045f9;hp=2a4afe0f08089558508ab32d9a87d15b6d7f014f
Author: Simon Tatham <anakin at pobox.com>
Date: Sat Mar 24 15:29:38 2018 +0000
Add python3 to interpreter list.
pid.c | 1 +
1 file changed, 1 insertion(+)
More information about the tartarus-commits
mailing list