Skip to content

bee-query: find now packages with special characters #50

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/bee-query.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ function get_pkgs() {

for pkg in $(bee-list --installed) ; do

if egrep -q "file=.*${f}" "${BEE_METADIR}/${pkg}/CONTENT" ; then
if grep -q "file=.*${f}" "${BEE_METADIR}/${pkg}/CONTENT" ; then
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So up to know, extended regular regressions were supported, which would not work anymore. No idea, what behavior is desired, but it should be mentioned.

echo ${pkg}
while read line ; do
eval $(${BEESEP} "${line}")
Expand Down