Current File : //proc/self/root/usr/src/linux-headers-6.14.0-1012-aws/tools/net/sunrpc/extract.sh
#! /bin/sh
# SPDX-License-Identifier: GPL-2.0
#
# Extract an RPC protocol specification from an RFC document.
# The version of this script comes from RFC 8166.
#
# Usage:
#  $ extract.sh < rfcNNNN.txt > protocol.x
#

grep '^ *///' | sed 's?^ */// ??' | sed 's?^ *///$??'