1#!/usr/bin/env bash
2
3# Copyright 2017 The Fuchsia Authors
4#
5# Use of this source code is governed by a MIT-style
6# license that can be found in the LICENSE file or at
7# https://opensource.org/licenses/MIT
8
9for h2md in ./build-*/tools/h2md ;
10do
11    echo $h2md
12    break;
13done
14
15find system/ -name \*.h -or -name \*.c -or -name \*.cpp | xargs grep '//@doc(' -l | xargs $h2md -v
16