代码搜索:bash

找到约 5,321 项符合「bash」的源代码

代码结果 5,321
www.eeworm.com/read/438832/7725765

sh ex30a.sh

#!/bin/bash # ex30a.sh: 脚本ex30.sh的"彩色"版本. # 没被加工处理过的地址数据库 clear # 清屏. echo -n " " echo -e '\E[37;44m'"\033[1mContact List\033[0m"
www.eeworm.com/read/438832/7725788

sh case-cmd.sh

#!/bin/bash # case-cmd.sh: 使用命令替换来产生"case"变量. case $( arch ) in # "arch" 返回机器体系的类型. # 等价于 'uname -m' ... i386 ) echo "80386-based machine";; i486 ) echo "80486-based machine";;
www.eeworm.com/read/438832/7725798

sh ex71.sh

#!/bin/bash # 'echo'对于打印单行消息来说是非常好用的, #+ 但是在打印消息块时可能就有点问题了. # 'cat' here document可以解决这个限制. cat <<End-of-message ------------------------------------- This is line 1 of the message. This
www.eeworm.com/read/438832/7725809

sh ex39.sh

#!/bin/bash ROOT_UID=0 # 只有$UID为0的用户才拥有root权限. E_NOTROOT=65 E_NOPARAMS=66 if [ "$UID" -ne "$ROOT_UID" ] then echo "Must be root to run this script." # "Run along kid, it's past your bedtime."
www.eeworm.com/read/438832/7725873

sh arglist.sh

#!/bin/bash # arglist.sh # 多使用几个参数来调用这个脚本, 比如"one two three". E_BADARGS=65 if [ ! -n "$1" ] then echo "Usage: `basename $0` argument1 argument2 etc." exit $E_BADARGS fi echo index=1
www.eeworm.com/read/305004/13780451

hgcompile

#!/bin/bash if test -d ../alsa-lib/utils && ! test -r `aclocal --print-ac-dir`/alsa.m4; then alsa_m4_flags="-I ../alsa-lib/utils" fi aclocal $alsa_m4_flags $ACLOCAL_FLAGS # save original files to a
www.eeworm.com/read/144212/5752975

nmv

#! /bin/bash # # original from: # @(#) ncp.ksh,nmv.ksh 1.1 94/07/23 # 92/01/18 john h. dubois iii (john@armory.com) # 92/01/31 added check for no args left after shifts # 92/02/17 added help # 92/02/2
www.eeworm.com/read/144212/5752985

ncp

#! /bin/bash # # original from: # @(#) ncp.ksh,nmv.ksh 1.1 94/07/23 # 92/01/18 john h. dubois iii (john@armory.com) # 92/01/31 added check for no args left after shifts # 92/02/17 added help # 92/02/2
www.eeworm.com/read/144212/5752989

arc2tarz

#! /bin/bash # # original from: # arc2tarz: convert arced file to tarred, compressed form. # @(#) arc2tarz.ksh 1.0 92/02/16 # 91/03/28 john h. dubois iii (john@armory.com) # 92/02/16 added -h option f
www.eeworm.com/read/144212/5753010

termcap suncmd.termcap

#Posted-Date: Fri, 9 Mar 90 18:34:29 EST #Date: Fri, 9 Mar 90 18:34:29 EST #From: "Eirik Fuller" #To: bfox@ai.mit.edu (Brian Fox) #Subject: Patch to bash 1.0