Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
eepm
Commits
604350fd
Commit
604350fd
authored
Nov 14, 2013
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm-search: add support --short option
parent
7bc8cf78
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
epm-search
bin/epm-search
+8
-0
No files found.
bin/epm-search
View file @
604350fd
...
@@ -113,6 +113,13 @@ __epm_search_make_grep()
...
@@ -113,6 +113,13 @@ __epm_search_make_grep()
echo
-n
" | egrep -i --
\"
$i
\"
"
echo
-n
" | egrep -i --
\"
$i
\"
"
done
done
if
[
"
$short
"
]
;
then
echo
-n
" | sed -e
\"
s| .*||g
\"
"
fi
# FIXME: move from it
#isatty || return
local
COLO
=
""
local
COLO
=
""
# rule for colorife
# rule for colorife
for
i
in
$list
$listN
;
do
for
i
in
$list
$listN
;
do
...
@@ -130,6 +137,7 @@ __epm_search_make_grep()
...
@@ -130,6 +137,7 @@ __epm_search_make_grep()
epm_search
()
epm_search
()
{
{
[
-n
"
$pkg_filenames
"
]
||
fatal
"Please, use search with some argument"
[
-n
"
$pkg_filenames
"
]
||
fatal
"Please, use search with some argument"
# FIXME: do it better
# FIXME: do it better
local
MGS
local
MGS
MGS
=
$(
eval
__epm_search_make_grep
$quoted_args
)
MGS
=
$(
eval
__epm_search_make_grep
$quoted_args
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment