{"schema_version":1,"metadata":{"branch":"current","release":"7.9","architecture":"amd64","generated_at":"2026-09-09T04:04:41.004595+00:00","source_url":"https://cdn.openbsd.org/pub/OpenBSD/snapshots/packages/amd64/sqlports-7.55.tgz","source_sha256":"fcdbba1b9df747882aa9bab4af20ebec8dac10655069c90f1cd4145c06e1235e","package_count":12031,"source_kind":"sqlports"},"package":{"name":"coccigrep-1.21p1","path":"devel/coccigrep","url":"/packages/current/devel/coccigrep/","comment":"semantic grep, based on coccinelle","homepage":"http://home.regit.org/software/coccigrep/","maintainer":"The OpenBSD ports mailing-list <ports@openbsd.org>","description":"coccigrep is a semantic grep for the C language based on coccinelle.\nIt can be used to find where a given structure is used in code files.\n\n- find where struct bpf_program is used:\ncoccigrep -t 'struct bpf_program' *c\n\n- find where bf_len in struct bpf_program is used:\ncoccigrep -t 'struct bpf_program' -a bf_len *c\n\n- find where bf_len in struct bpf_program is *set*:\ncoccigrep -t 'struct bpf_program' -a bf_len -o set *c\n","package_architecture":"amd64","stem":"coccigrep","readme":null,"dependencies":[{"path":"devel/coccinelle","type":"runtime","package_spec":"","url":"/packages/current/devel/coccinelle/"},{"path":"lang/python/3","type":"runtime","package_spec":"","url":"/packages/current/lang/python/3/"},{"path":"lang/python/3","type":"build","package_spec":"","url":"/packages/current/lang/python/3/"},{"path":"devel/py-build","type":"build","package_spec":"","url":"/packages/current/devel/py-build/"},{"path":"devel/py-installer","type":"build","package_spec":"","url":"/packages/current/devel/py-installer/"},{"path":"devel/py-setuptools","type":"build","package_spec":"py3-setuptools->=79v0","url":"/packages/current/devel/py-setuptools/"},{"path":"devel/py-wheel","type":"build","package_spec":"","url":"/packages/current/devel/py-wheel/"}],"reverse_dependencies":{"count":0,"url":null},"categories":["devel","textproc","lang/python"],"flavors":[],"only_for_architectures":["aarch64","amd64","arm","i386","mips64","mips64el","powerpc","powerpc64","riscv64","sparc64","alpha","hppa"],"not_for_architectures":[]}}
