# This file is used by -X option to provide an inclusion/exclusion
# list.  For each pathname of a file selected for backup, each line
# of this file is examined for a pattern, and that pattern is applied
# to the pathname.  If the pattern matches, the appropriate action
# is taken (the pathname is accepted or rejected).  If the pathname
# makes it through all the patterns it is accepted. 
#
# These patterns will ONLY be applied to filenames that are part
# of directories that are specified on the bru command line (or
# the current directory, if none are specified).
# 
#
# Each command line in the bruxpat file (the file you are now reading)
# consists of a control field and a pattern.  The pattern
# is separated from the control field by whitespace.  Control field
# characters are:
#
#	i	Include this pathname if pattern matches.  The
#		pathname is accepted and no further patterns are
#		applied.
#				*** NOTE ****
#		It stops trying on the first pattern match found
#		and passes the filename.  Since it scans patterns
#		in the order listed, "include" patterns normally
#		should be listed before any "exclude" patterns.
#
#	x	Exclude this pathname if pattern matches.  The
#		pathname is rejected and no further patterns are
#		applied.
#
#	z	Exclude this pathname from compression if pattern
#		matches (if the -Z option is specified).
#
#	s	The pattern is a shell style wildcard pattern except
#		that '/' characters are not treated as special characters.
#
#	r	The pattern is a regular expression (same as used by the "grep"
#		command).
#
#	l	The pattern is a literal string.
#

# Exclude all core files
xs	*/core
xs	core

# Don't try to get the stuff in /proc
xs	/proc/*
xs	./proc/*

# Exclude all files and subdirectories in the temporary directories.
# Handle files specified with relative and absolute pathnames
#
#   -- NOTE --	the actual directory names will still be backed up,
#		only the files within the directories will be
#		excluded.
xs	./usr/tmp/*
xs	/usr/tmp/*
xs	./tmp/*
xs	/tmp/*

# Don't compress files that end in ".z" or ".Z"
zs	*.[Zz]
