config root man

Current Path : /compat/linux/usr/share/doc/bash-3.2/startup-files/apple/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //compat/linux/usr/share/doc/bash-3.2/startup-files/apple/rc

##
# Bourne Again Shell config file
#
# Wilfredo Sanchez Jr. | tritan@mit.edu
# July 09, 1992
#
# MIT Project Athena
#
# ORIGINAL SOURCES: /usr/athena/lib/init/cshrc (ATHENA REL 7.3P)
##

     default_initdir=/usr/share/init
default_bash_initdir=${default_initdir}/bash
        user_initdir=~/Library/init
   user_bash_initdir=${user_initdir}/bash

if [ -r ${user_bash_initdir} ]; then
       initdir=${user_initdir}
  bash_initdir=${user_bash_initdir}
else
       initdir=${default_initdir}
  bash_initdir=${default_bash_initdir}
fi

# SET UP HOST-DEPENDANT VARIABLES, ETC.

host=$(echo $(hostname) | tr A-Z a-z)

user=`whoami`

export HOST=${host}
export USER=${user}

# User ID
if [ -z "${uid}" ]; then uid=$(id | cut -d = -f 2 | cut -d \( -f 1); fi

# SET COMMAND SEARCH PATH AND MAN PATH
if [ -f ${bash_initdir}/path ]; then source ${bash_initdir}/path; fi

# ENVIRONMENT SETUP

if [ -n "${PS1}" ]; then interactive="YES"; fi

if [ -z "${ENV_SET}" ]; then
    if [ -f ${default_bash_initdir}/environment ]; then
	#echo "Initializing environment..."
	source ${default_bash_initdir}/environment
    fi
fi

if [ -r ${default_bash_initdir}/bash.defaults ]; then
    source ${default_bash_initdir}/bash.defaults
fi

# DEFAULT LOGIN SOURCES
if [ -f ${bash_initdir}/rc.mine ]; then source ${bash_initdir}/rc.mine; fi

if [ "${interactive}" = "YES" ]; then
    # These aren't useful for non-interactive sessions
    if [ -f ${default_bash_initdir}/aliases ]; then
        source ${default_bash_initdir}/aliases
    fi
fi

Man Man