{"action":"created","comment":{"url":"https://api.github.com/repos/lunar-linux/lunar/pulls/comments/84607069","pull_request_review_id":5374115,"id":84607069,"diff_hunk":"@@ -908,6 +910,19 @@ show_info() {\n   fi\n }\n \n+find_modules() {\n+    shift\n+    NSTR=\"-e \\\"$1.*:\\\"\"\n+\n+    if [ ! -z \"$2\" ]; then\n+        shift\n+        for MODNAME in \"$@\"; do\n+            NSTR=\"$NSTR -e \\\"$MODNAME.*:\\\"\"\n+        done\n+    fi\n+\n+    bash -c \"grep -i $NSTR /var/lib/lunar/moonbase/module.index\"","path":"prog/lvu","position":null,"original_position":24,"commit_id":"a29982ccf36357f3d5e474595cf7093fdef0a6c7","original_commit_id":"afb1587dcfbebadd5dd40d1b8dd6b28ed42c2cb4","user":{"login":"bsfc1685","id":19525441,"avatar_url":"https://avatars.githubusercontent.com/u/19525441?v=3","gravatar_id":"","url":"https://api.github.com/users/bsfc1685","html_url":"https://github.com/bsfc1685","followers_url":"https://api.github.com/users/bsfc1685/followers","following_url":"https://api.github.com/users/bsfc1685/following{/other_user}","gists_url":"https://api.github.com/users/bsfc1685/gists{/gist_id}","starred_url":"https://api.github.com/users/bsfc1685/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsfc1685/subscriptions","organizations_url":"https://api.github.com/users/bsfc1685/orgs","repos_url":"https://api.github.com/users/bsfc1685/repos","events_url":"https://api.github.com/users/bsfc1685/events{/privacy}","received_events_url":"https://api.github.com/users/bsfc1685/received_events","type":"User","site_admin":false},"body":"I took out the double-quotes in NSTR... it works nicely","created_at":"2016-10-23T22:45:23Z","updated_at":"2016-10-23T22:45:23Z","html_url":"https://github.com/lunar-linux/lunar/pull/111#discussion_r84607069","pull_request_url":"https://api.github.com/repos/lunar-linux/lunar/pulls/111","_links":{"self":{"href":"https://api.github.com/repos/lunar-linux/lunar/pulls/comments/84607069"},"html":{"href":"https://github.com/lunar-linux/lunar/pull/111#discussion_r84607069"},"pull_request":{"href":"https://api.github.com/repos/lunar-linux/lunar/pulls/111"}}},"pull_request":{"url":"https://api.github.com/repos/lunar-linux/lunar/pulls/111","id":90488002,"html_url":"https://github.com/lunar-linux/lunar/pull/111","diff_url":"https://github.com/lunar-linux/lunar/pull/111.diff","patch_url":"https://github.com/lunar-linux/lunar/pull/111.patch","issue_url":"https://api.github.com/repos/lunar-linux/lunar/issues/111","number":111,"state":"open","locked":false,"title":"lunar: added a feature in prog/lvu to find module names with keywords","user":{"login":"bsfc1685","id":19525441,"avatar_url":"https://avatars.githubusercontent.com/u/19525441?v=3","gravatar_id":"","url":"https://api.github.com/users/bsfc1685","html_url":"https://github.com/bsfc1685","followers_url":"https://api.github.com/users/bsfc1685/followers","following_url":"https://api.github.com/users/bsfc1685/following{/other_user}","gists_url":"https://api.github.com/users/bsfc1685/gists{/gist_id}","starred_url":"https://api.github.com/users/bsfc1685/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsfc1685/subscriptions","organizations_url":"https://api.github.com/users/bsfc1685/orgs","repos_url":"https://api.github.com/users/bsfc1685/repos","events_url":"https://api.github.com/users/bsfc1685/events{/privacy}","received_events_url":"https://api.github.com/users/bsfc1685/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-10-22T16:54:59Z","updated_at":"2016-10-23T22:45:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dc08b17936c1b8c74a69a761902c8e174ff6d239","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/lunar-linux/lunar/pulls/111/commits","review_comments_url":"https://api.github.com/repos/lunar-linux/lunar/pulls/111/comments","review_comment_url":"https://api.github.com/repos/lunar-linux/lunar/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lunar-linux/lunar/issues/111/comments","statuses_url":"https://api.github.com/repos/lunar-linux/lunar/statuses/a29982ccf36357f3d5e474595cf7093fdef0a6c7","head":{"label":"bsfc1685:bsfcmods","ref":"bsfcmods","sha":"a29982ccf36357f3d5e474595cf7093fdef0a6c7","user":{"login":"bsfc1685","id":19525441,"avatar_url":"https://avatars.githubusercontent.com/u/19525441?v=3","gravatar_id":"","url":"https://api.github.com/users/bsfc1685","html_url":"https://github.com/bsfc1685","followers_url":"https://api.github.com/users/bsfc1685/followers","following_url":"https://api.github.com/users/bsfc1685/following{/other_user}","gists_url":"https://api.github.com/users/bsfc1685/gists{/gist_id}","starred_url":"https://api.github.com/users/bsfc1685/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsfc1685/subscriptions","organizations_url":"https://api.github.com/users/bsfc1685/orgs","repos_url":"https://api.github.com/users/bsfc1685/repos","events_url":"https://api.github.com/users/bsfc1685/events{/privacy}","received_events_url":"https://api.github.com/users/bsfc1685/received_events","type":"User","site_admin":false},"repo":{"id":71355107,"name":"lunar","full_name":"bsfc1685/lunar","owner":{"login":"bsfc1685","id":19525441,"avatar_url":"https://avatars.githubusercontent.com/u/19525441?v=3","gravatar_id":"","url":"https://api.github.com/users/bsfc1685","html_url":"https://github.com/bsfc1685","followers_url":"https://api.github.com/users/bsfc1685/followers","following_url":"https://api.github.com/users/bsfc1685/following{/other_user}","gists_url":"https://api.github.com/users/bsfc1685/gists{/gist_id}","starred_url":"https://api.github.com/users/bsfc1685/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsfc1685/subscriptions","organizations_url":"https://api.github.com/users/bsfc1685/orgs","repos_url":"https://api.github.com/users/bsfc1685/repos","events_url":"https://api.github.com/users/bsfc1685/events{/privacy}","received_events_url":"https://api.github.com/users/bsfc1685/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bsfc1685/lunar","description":null,"fork":true,"url":"https://api.github.com/repos/bsfc1685/lunar","forks_url":"https://api.github.com/repos/bsfc1685/lunar/forks","keys_url":"https://api.github.com/repos/bsfc1685/lunar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bsfc1685/lunar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bsfc1685/lunar/teams","hooks_url":"https://api.github.com/repos/bsfc1685/lunar/hooks","issue_events_url":"https://api.github.com/repos/bsfc1685/lunar/issues/events{/number}","events_url":"https://api.github.com/repos/bsfc1685/lunar/events","assignees_url":"https://api.github.com/repos/bsfc1685/lunar/assignees{/user}","branches_url":"https://api.github.com/repos/bsfc1685/lunar/branches{/branch}","tags_url":"https://api.github.com/repos/bsfc1685/lunar/tags","blobs_url":"https://api.github.com/repos/bsfc1685/lunar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bsfc1685/lunar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bsfc1685/lunar/git/refs{/sha}","trees_url":"https://api.github.com/repos/bsfc1685/lunar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bsfc1685/lunar/statuses/{sha}","languages_url":"https://api.github.com/repos/bsfc1685/lunar/languages","stargazers_url":"https://api.github.com/repos/bsfc1685/lunar/stargazers","contributors_url":"https://api.github.com/repos/bsfc1685/lunar/contributors","subscribers_url":"https://api.github.com/repos/bsfc1685/lunar/subscribers","subscription_url":"https://api.github.com/repos/bsfc1685/lunar/subscription","commits_url":"https://api.github.com/repos/bsfc1685/lunar/commits{/sha}","git_commits_url":"https://api.github.com/repos/bsfc1685/lunar/git/commits{/sha}","comments_url":"https://api.github.com/repos/bsfc1685/lunar/comments{/number}","issue_comment_url":"https://api.github.com/repos/bsfc1685/lunar/issues/comments{/number}","contents_url":"https://api.github.com/repos/bsfc1685/lunar/contents/{+path}","compare_url":"https://api.github.com/repos/bsfc1685/lunar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bsfc1685/lunar/merges","archive_url":"https://api.github.com/repos/bsfc1685/lunar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bsfc1685/lunar/downloads","issues_url":"https://api.github.com/repos/bsfc1685/lunar/issues{/number}","pulls_url":"https://api.github.com/repos/bsfc1685/lunar/pulls{/number}","milestones_url":"https://api.github.com/repos/bsfc1685/lunar/milestones{/number}","notifications_url":"https://api.github.com/repos/bsfc1685/lunar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bsfc1685/lunar/labels{/name}","releases_url":"https://api.github.com/repos/bsfc1685/lunar/releases{/id}","deployments_url":"https://api.github.com/repos/bsfc1685/lunar/deployments","created_at":"2016-10-19T12:33:11Z","updated_at":"2016-10-19T12:33:12Z","pushed_at":"2016-10-23T22:44:08Z","git_url":"git://github.com/bsfc1685/lunar.git","ssh_url":"git@github.com:bsfc1685/lunar.git","clone_url":"https://github.com/bsfc1685/lunar.git","svn_url":"https://github.com/bsfc1685/lunar","homepage":null,"size":3583,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"lunar-linux:master","ref":"master","sha":"ff97051810755929b6f7d61f92ee58095da4abc2","user":{"login":"lunar-linux","id":1911904,"avatar_url":"https://avatars.githubusercontent.com/u/1911904?v=3","gravatar_id":"","url":"https://api.github.com/users/lunar-linux","html_url":"https://github.com/lunar-linux","followers_url":"https://api.github.com/users/lunar-linux/followers","following_url":"https://api.github.com/users/lunar-linux/following{/other_user}","gists_url":"https://api.github.com/users/lunar-linux/gists{/gist_id}","starred_url":"https://api.github.com/users/lunar-linux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lunar-linux/subscriptions","organizations_url":"https://api.github.com/users/lunar-linux/orgs","repos_url":"https://api.github.com/users/lunar-linux/repos","events_url":"https://api.github.com/users/lunar-linux/events{/privacy}","received_events_url":"https://api.github.com/users/lunar-linux/received_events","type":"Organization","site_admin":false},"repo":{"id":4853642,"name":"lunar","full_name":"lunar-linux/lunar","owner":{"login":"lunar-linux","id":1911904,"avatar_url":"https://avatars.githubusercontent.com/u/1911904?v=3","gravatar_id":"","url":"https://api.github.com/users/lunar-linux","html_url":"https://github.com/lunar-linux","followers_url":"https://api.github.com/users/lunar-linux/followers","following_url":"https://api.github.com/users/lunar-linux/following{/other_user}","gists_url":"https://api.github.com/users/lunar-linux/gists{/gist_id}","starred_url":"https://api.github.com/users/lunar-linux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lunar-linux/subscriptions","organizations_url":"https://api.github.com/users/lunar-linux/orgs","repos_url":"https://api.github.com/users/lunar-linux/repos","events_url":"https://api.github.com/users/lunar-linux/events{/privacy}","received_events_url":"https://api.github.com/users/lunar-linux/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/lunar-linux/lunar","description":null,"fork":false,"url":"https://api.github.com/repos/lunar-linux/lunar","forks_url":"https://api.github.com/repos/lunar-linux/lunar/forks","keys_url":"https://api.github.com/repos/lunar-linux/lunar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lunar-linux/lunar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lunar-linux/lunar/teams","hooks_url":"https://api.github.com/repos/lunar-linux/lunar/hooks","issue_events_url":"https://api.github.com/repos/lunar-linux/lunar/issues/events{/number}","events_url":"https://api.github.com/repos/lunar-linux/lunar/events","assignees_url":"https://api.github.com/repos/lunar-linux/lunar/assignees{/user}","branches_url":"https://api.github.com/repos/lunar-linux/lunar/branches{/branch}","tags_url":"https://api.github.com/repos/lunar-linux/lunar/tags","blobs_url":"https://api.github.com/repos/lunar-linux/lunar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lunar-linux/lunar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lunar-linux/lunar/git/refs{/sha}","trees_url":"https://api.github.com/repos/lunar-linux/lunar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lunar-linux/lunar/statuses/{sha}","languages_url":"https://api.github.com/repos/lunar-linux/lunar/languages","stargazers_url":"https://api.github.com/repos/lunar-linux/lunar/stargazers","contributors_url":"https://api.github.com/repos/lunar-linux/lunar/contributors","subscribers_url":"https://api.github.com/repos/lunar-linux/lunar/subscribers","subscription_url":"https://api.github.com/repos/lunar-linux/lunar/subscription","commits_url":"https://api.github.com/repos/lunar-linux/lunar/commits{/sha}","git_commits_url":"https://api.github.com/repos/lunar-linux/lunar/git/commits{/sha}","comments_url":"https://api.github.com/repos/lunar-linux/lunar/comments{/number}","issue_comment_url":"https://api.github.com/repos/lunar-linux/lunar/issues/comments{/number}","contents_url":"https://api.github.com/repos/lunar-linux/lunar/contents/{+path}","compare_url":"https://api.github.com/repos/lunar-linux/lunar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lunar-linux/lunar/merges","archive_url":"https://api.github.com/repos/lunar-linux/lunar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lunar-linux/lunar/downloads","issues_url":"https://api.github.com/repos/lunar-linux/lunar/issues{/number}","pulls_url":"https://api.github.com/repos/lunar-linux/lunar/pulls{/number}","milestones_url":"https://api.github.com/repos/lunar-linux/lunar/milestones{/number}","notifications_url":"https://api.github.com/repos/lunar-linux/lunar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lunar-linux/lunar/labels{/name}","releases_url":"https://api.github.com/repos/lunar-linux/lunar/releases{/id}","deployments_url":"https://api.github.com/repos/lunar-linux/lunar/deployments","created_at":"2012-07-01T21:47:34Z","updated_at":"2016-10-23T18:11:04Z","pushed_at":"2016-10-23T22:44:09Z","git_url":"git://github.com/lunar-linux/lunar.git","ssh_url":"git@github.com:lunar-linux/lunar.git","clone_url":"https://github.com/lunar-linux/lunar.git","svn_url":"https://github.com/lunar-linux/lunar","homepage":null,"size":3643,"stargazers_count":15,"watchers_count":15,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":14,"forks":11,"open_issues":14,"watchers":15,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lunar-linux/lunar/pulls/111"},"html":{"href":"https://github.com/lunar-linux/lunar/pull/111"},"issue":{"href":"https://api.github.com/repos/lunar-linux/lunar/issues/111"},"comments":{"href":"https://api.github.com/repos/lunar-linux/lunar/issues/111/comments"},"review_comments":{"href":"https://api.github.com/repos/lunar-linux/lunar/pulls/111/comments"},"review_comment":{"href":"https://api.github.com/repos/lunar-linux/lunar/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lunar-linux/lunar/pulls/111/commits"},"statuses":{"href":"https://api.github.com/repos/lunar-linux/lunar/statuses/a29982ccf36357f3d5e474595cf7093fdef0a6c7"}}}}
{"actor":{"display_login":"bsfc1685"}}