{"id":20987249,"url":"https://github.com/haxpor/cppgr","last_synced_at":"2026-04-16T17:34:14.300Z","repository":{"id":149552843,"uuid":"211502767","full_name":"haxpor/cppgr","owner":"haxpor","description":"Convenient simple bash script to grep multiple target text from C++ 9.0 GCC on Unix/Linux based system","archived":false,"fork":false,"pushed_at":"2019-09-28T13:26:23.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-20T07:42:01.214Z","etag":null,"topics":["cpp","gcc9"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/haxpor.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-28T13:14:22.000Z","updated_at":"2019-09-28T13:27:21.000Z","dependencies_parsed_at":"2023-06-05T13:48:01.784Z","dependency_job_id":null,"html_url":"https://github.com/haxpor/cppgr","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haxpor%2Fcppgr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haxpor%2Fcppgr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haxpor%2Fcppgr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/haxpor%2Fcppgr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/haxpor","download_url":"https://codeload.github.com/haxpor/cppgr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243394284,"owners_count":20283940,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cpp","gcc9"],"created_at":"2024-11-19T06:16:24.548Z","updated_at":"2026-04-16T17:34:09.268Z","avatar_url":"https://github.com/haxpor.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cppgr\n\nA simple and convenient bash script to search something (multiple texts) from C++ header source as mostly located at `/usr/include/c++/\u003cversion\u003e` but for this the script aims at Gcc version 9.0.\n\nInitially this script helps me on studying internal C++'s STL by quickly grep through the source as seen in various header files. Recommended to also have a copy of [gcc](https://github.com/gcc-mirror/gcc) in case of digging deeper or a certain function is implemented not in header sources.\n\n# Installation\n\nPut `cppgr` script into your `/usr/local/bin/` directory, or clone this repository then symlink the file there.\n\n# Usage\n\n* Search for a single text =\u003e `cppgr ostream_iterator`\n* Search for multiple texts =\u003e 'cppgr iterator class`\n\nOutput would be something like this\n\n```\n/usr/include/c++/7/backward/hash_map:511:    class insert_iterator\u003c__gnu_cxx::hash_map\u003c_Key, _Tp, _HashFn, \n/usr/include/c++/7/backward/hash_map:553:    class insert_iterator\u003c__gnu_cxx::hash_multimap\u003c_Key, _Tp, _HashFn,\n/usr/include/c++/7/backward/hash_set:479:    class insert_iterator\u003c__gnu_cxx::hash_set\u003c_Value, _HashFcn,\n/usr/include/c++/7/backward/hash_set:522:    class insert_iterator\u003c__gnu_cxx::hash_multiset\u003c_Value, _HashFcn,\n/usr/include/c++/7/bits/hashtable_policy.h:301:  /// Base class for node iterators.\n/usr/include/c++/7/bits/hashtable_policy.h:1127:   *  Primary class template _Local_iterator_base.\n/usr/include/c++/7/bits/hashtable_policy.h:1129:   *  Base class for local iterators, used to iterate within a bucket\n/usr/include/c++/7/bits/stl_raw_storage_iter.h:64:   *  This iterator class lets algorithms store their results into\n/usr/include/c++/7/bits/stl_raw_storage_iter.h:68:    class raw_storage_iterator\n/usr/include/c++/7/bits/stl_iterator.h:101:    class reverse_iterator\n/usr/include/c++/7/bits/stl_iterator.h:455:    class back_insert_iterator\n/usr/include/c++/7/bits/stl_iterator.h:547:    class front_insert_iterator\n/usr/include/c++/7/bits/stl_iterator.h:642:    class insert_iterator\n/usr/include/c++/7/bits/stl_iterator.h:756:  // not a class, e.g. a pointer, into an iterator that is a class.\n/usr/include/c++/7/bits/stl_iterator.h:763:    class __normal_iterator\n/usr/include/c++/7/bits/stl_iterator.h:1013:    class move_iterator\n/usr/include/c++/7/bits/stl_algobase.h:395:    class istreambuf_iterator;\n/usr/include/c++/7/bits/stl_algobase.h:398:    class ostreambuf_iterator;\n...\n```\n\n# License\n\nMIT, Wasin Thonkaew\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaxpor%2Fcppgr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhaxpor%2Fcppgr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhaxpor%2Fcppgr/lists"}