summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2024-10-31 20:02:00 +0100
committerRaymaekers Luca <raymaekers.luca@gmail.com>2024-10-31 20:02:00 +0100
commit156db94321161105f5522d621d48de77d1a46857 (patch)
treeed727020999db523c630cffaf05185ff4d327070 /bin
parent66794bebd2cb2bf251491570c92eef5a4eeff26e (diff)
checkpoint
Diffstat (limited to 'bin')
-rwxr-xr-xbin/extra/include.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/extra/include.sh b/bin/extra/include.sh
new file mode 100755
index 0000000..1a2c1f4
--- /dev/null
+++ b/bin/extra/include.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+man -s 2,3p,3 -P cat "$1" | grep -m 1 -o '#include <[^>]\+>'