Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:olh
helpers
_service:obs_scm:vim-gitw-search.sh
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:vim-gitw-search.sh of Package helpers
#!/bin/bash declare -i num=0 grep_search_string= vim_search_string= # grep_search_string+='(' for string in "$@" do : $(( num++ )) if test ${num} -gt 1 then grep_search_string+='|' vim_search_string+='\|' fi grep_search_string+="${string}" vim_search_string+='\<' vim_search_string+="${string}" vim_search_string+='\>' done grep_search_string+=')' # exec view -bn -c "silent! /${vim_search_string}" $(git --no-pager grep -Ewl "${grep_search_string}")
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor