mirror of https://github.com/mikedilger/gossip.git
find, findfile
This commit is contained in:
parent
bbe7bb642b
commit
1345fc2d46
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
find . -name .git -prune -o -name target -prune -o -type f -exec grep -H "$1" {} \; \
|
||||
| awk -F: '{print $1}' | uniq
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
find . -name .git -prune -o -name target -prune -o -type f -exec grep -H "$1" {} \;
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash
|
||||
|
||||
find . -name .git -prune -o -name target -prune -o -name "$1" -print
|
||||
|
Loading…
Reference in New Issue