dotfiles

configuration files
git clone https://pi.duncano.de/git/dotfiles.git
Log | Files | Refs | README

commit 8a4b818a15a5257d093c9564d2c3c08451428216
parent 6158945748738a5f61b8df683dfbf980af9ddb28
Author: Duncaen <mail@duncano.de>
Date:   Fri, 11 Aug 2017 19:12:00 +0200

bin/cppgrep: import

Diffstat:
bin/cppgrep | 8++++++++
1 file changed, 8 insertions(+), 0 deletions(-)

diff --git a/bin/cppgrep b/bin/cppgrep @@ -0,0 +1,8 @@ +#!/bin/sh +# cppgrep - grep in C/C++ headers +# 10aug2017 +leah+ + +printf '#include "%s"' "$@[2,-1]" \ + | gcc -E -M -MP -x c++ - \ + | awk -F: '/:$/ {print $1}' \ + | xe -N0 grep "$1"