diff options
author | John Ankarström <john@ankarstrom.se> | 2021-06-09 20:37:39 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2021-06-09 20:37:39 +0200 |
commit | f625f167daadc8c01148f45d0603e9d5c1dc7560 (patch) | |
tree | 03e5a3be33d0c2247056775fda70a9f3e28556b4 /g | |
parent | 284b2b9f33bc3c8faf03fa77828495655e1054f4 (diff) | |
download | xutil-f625f167daadc8c01148f45d0603e9d5c1dc7560.tar.gz |
Add 'g' utility
Diffstat (limited to 'g')
-rwxr-xr-x | g | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -0,0 +1,3 @@ +#!/bin/sh + +p grep -n "$*" $(find . -name '*.c' -or -name '*.h' | sed s,./,,) |