2718N/A# The contents of this file are subject to the terms of the 2718N/A# Common Development and Distribution License (the "License"). 2718N/A# You may not use this file except in compliance with the License. 2718N/A# See the License for the specific language governing permissions 2718N/A# and limitations under the License. 2718N/A# When distributing Covered Code, include this CDDL HEADER in each 2718N/A# If applicable, add the following below this CDDL HEADER, with the 2718N/A# fields enclosed by brackets "[]" replaced with your own identifying 2718N/A# information: Portions Copyright [yyyy] [name of copyright owner] 6191N/A# Copyright (c) 2014, 2016, Oracle and/or its affiliates. All rights reserved. 2718N/A nawk '/^# Copyright / {p=1} /^# ---/ {p=0} p == 1 {print substr($$0, 3)}' $< > $@