代码搜索:BASH
找到约 5,321 项符合「BASH」的源代码
代码结果 5,321
www.eeworm.com/read/144212/5752918
bash notify.bash
trap _notify CHLD
NOTIFY_ALL=false
unset NOTIFY_LIST
unalias false
false()
{
return 1
}
_notify ()
{
local i j
local newlist=
if $NOTIFY_ALL
then
return # let bash take care of this itself
www.eeworm.com/read/144212/5752919
bash xfind.bash
#! /bin/bash
#From: kaz@cafe.net (Kaz Kylheku)
#Newsgroups: comp.unix.shell
#Subject: Why not roll your own @#$% find! (was: splitting directory off from filename)
#Message-ID:
www.eeworm.com/read/144212/5752923
bash xalias.bash
# xalias - convert csh alias commands to bash functions
# from Mohit Aron
# posted to usenet as
function xalias ()
{
if [ "x$2" = "x" ]
then
declare
www.eeworm.com/read/144212/5752925
bash jj.bash
jj ()
{
p=$(jobs $1);
echo $p
case "$p" in
[*) echo matches '[*'
;;
*) echo not a match\?
;;
esac
}
www.eeworm.com/read/144212/5752987
bash cdhist.bash
#! /bin/bash
#
# cdhist - cd replacement with a directory stack like pushd/popd
#
# usage: cd [-l] [-n] [-] [dir]
#
# options:
# -l print the cd directory stack, one entry per line
# - equivalent to $
www.eeworm.com/read/144212/5752998
defaults bash.defaults
##
# Bash
# User preferences file
# Override these in rc.mine
#
# Wilfredo Sanchez Jr. | tritan@mit.edu
# July 09, 1992
#
# MIT Project Athena
##
if [ -n "$PS1" ]; then
# Prompts
PS1='[\h:\w] \u
www.eeworm.com/read/144212/5753002
bash_profile
# Startup file for bash login shells.
#
default_dir=/usr/local/lib/
if [ -n "$PS1" ]; then
PS1='\u@\h(\#)\$ '
IGNOREEOF=3
fi
LOGIN_SHELL=true
# If the user has her own init file, then use that on
www.eeworm.com/read/144212/5753005
bash_aliases
# Some useful aliases.
alias texclean='rm -f *.toc *.aux *.log *.cp *.fn *.tp *.vr *.pg *.ky'
alias clean='echo -n "Really clean this directory?";
read yorn;
if test "$yorn" = "y"; then
rm -f \#
www.eeworm.com/read/144212/5753007
bash-profile
# This is the filename where your incoming mail arrives.
MAIL=~/mbox
MAILCHECK=30
HISTFILE=~/.history/history.$HOSTNAME
PATH1=/usr/homes/chet/bin.$HOSTTYPE:/usr/local/bin/gnu:
PATH2=/usr/local/bin:/
www.eeworm.com/read/144212/5753009
bash aliasconv.bash
#! /bin/bash
#
# aliasconv.bash - convert csh aliases to bash aliases and functions
#
# usage: aliasconv.bash
#
# Chet Ramey
# chet@po.cwru.edu
#
trap 'rm -f /tmp/cb$$.?' 0 1 2 3 6 15
T=$'\t'
cat