#! /bin/sed # IBM_PROLOG_BEGIN_TAG # This is an automatically generated prolog. # # # # Licensed Materials - Property of IBM # # (C) COPYRIGHT International Business Machines Corp. 2000,2019 # All Rights Reserved # # US Government Users Restricted Rights - Use, duplication or # disclosure restricted by GSA ADP Schedule Contract with IBM Corp. # # IBM_PROLOG_END_TAG # sccsid = "@(#)64 1.2 src/rsct/ffdc/bin/fcstrip.sed, ffdc, rsct_rady, rady2035a 3/9/15 09:58:16" # ============================================================================= # Module Name: fc_join.sed # # Component: ffdc # # Description: A "sed" script to be used on a Syslog configuration file (ex: # /etc/syslog.conf) remove comments and blank lines from the # file. # # This script is executed as one in a series of commands to # identify log files used by Syslog and the selectors associated # with those log files. The FFDC software executes these # scripts as part of the report generation function. # # Usage: sed -f fc_strip.sed # # Input: Syslog configuration file # # Output: Syslog configuration file with comments and blank lines removed. # # Exit Status: Set by "sed" # ============================================================================= /^$/d /^#/d