mirror of
https://bitbucket.org/smil3y/katana.git
synced 2025-02-23 18:32:47 +00:00
grep.sh: script to search in repositories
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
8ba4277bab
commit
c150d22a23
1 changed files with 12 additions and 0 deletions
12
grep.sh
Executable file
12
grep.sh
Executable file
|
@ -0,0 +1,12 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
packs=("kdelibs" "kde-baseapps" "kde-workspace" "kde-extraapps")
|
||||
|
||||
for p in "${packs[@]}";do
|
||||
echo "Searching $p..."
|
||||
cd "$p"
|
||||
git grep $@ || true
|
||||
cd ..
|
||||
done
|
Loading…
Add table
Reference in a new issue