Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/tools/net/sunrpc/extract.sh
26285 views
1
#! /bin/sh
2
# SPDX-License-Identifier: GPL-2.0
3
#
4
# Extract an RPC protocol specification from an RFC document.
5
# The version of this script comes from RFC 8166.
6
#
7
# Usage:
8
# $ extract.sh < rfcNNNN.txt > protocol.x
9
#
10
11
grep '^ *///' | sed 's?^ */// ??' | sed 's?^ *///$??'
12
13