From 6b444bf93fececa65427ca37a599ff7e55eba259 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Wed, 2 Feb 2022 11:17:53 -0500 Subject: Add whinclude --- home/.local/bin/whinclude | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 home/.local/bin/whinclude (limited to 'home/.local/bin') diff --git a/home/.local/bin/whinclude b/home/.local/bin/whinclude new file mode 100755 index 00000000..26445cdc --- /dev/null +++ b/home/.local/bin/whinclude @@ -0,0 +1,11 @@ +#!/bin/sh +set -eu + +echo "#include <${1}>" | +cc ${CFLAGS:-} -E -x c - | +sed -En ' + /^# [0-9]+ "[^<]/{ + s/.*"([^"]+)".*/\1/p + q + } +' -- cgit 1.4.1 8f60006a1594faa3c86fbd01184a09f3c0d'>this commit (deprecated) process supervisor
summary refs log tree commit diff
path: root/catsit.8 (unfollow)
Commit message (Expand)Author
2020-08-15Add reset interval after which restart interval is resetJune McEnroe
2020-08-15Log when service name pattern doesn't matchJune McEnroe
2020-08-15Add FreeBSD rc scriptJune McEnroe
2020-08-15Call setproctitle with number of servicesJune McEnroe
2020-08-15Rename project to catsitJune McEnroe
2020-08-15Use only LOG_NOTICE and LOG_WARNINGJune McEnroe
2020-08-15Make log messages consistentJune McEnroe
2020-08-15Remove closelog callJune McEnroe
2020-08-15Implement service statusJune McEnroe
2020-08-15Parse control commandsJune McEnroe
2020-08-15Read service pipesJune McEnroe
2020-08-15Implement non-blocking line-buffered readingJune McEnroe
2020-08-15Generate tags fileJune McEnroe
2020-08-15Just use CLOCK_MONOTONIC and clean up includesJune McEnroe
2020-08-15Reap childrenJune McEnroe
2020-08-14Implement serviceSignal, serviceStop, serviceRestartJune McEnroe
2020-08-14Reset restartInterval and restartDeadline on startJune McEnroe
2020-08-14Switch to timespec for timeoutsJune McEnroe
2020-08-14Implement serviceStartJune McEnroe
2020-08-14Flesh out Service structJune McEnroe
2020-08-14Build environment for servicesJune McEnroe
2020-08-14Implement spawntab parsingJune McEnroe
2020-08-14Open syslog, daemonize, write PIDJune McEnroe
2020-08-14Implement user and group lookupJune McEnroe
2020-08-14Add install targetJune McEnroe
2020-08-14Add spawnd skeletonJune McEnroe