代码搜索:bash
找到约 5,321 项符合「bash」的源代码
代码结果 5,321
www.eeworm.com/read/428548/1958610
tests var_expand_in_redir.tests
if test $# = 0; then
exec "$THIS_SH" "$0" abc "d e"
fi
echo TEST1 >"$1.out"
echo TEST2 >"$2.out"
# bash says: "$@.out": ambiguous redirect
# ash handles it as if it is '$*' - we do the same
echo
www.eeworm.com/read/424983/2011010
sh add_message_file.sh
#!/bin/bash
# $Id: add_message_file.sh 7364 2005-09-24 08:49:52Z nijel $
#
# Shell script that adds a message file to all message files
# adding "//to translate" on each line
#
# Example: add_message
www.eeworm.com/read/420735/2065168
svn-base full-train-mert-decode.test.svn-base
#!/bin/bash
# $Id: consolidate-training-data.perl 40 2007-03-14 22:48:03Z hieu $
function die() {
echo "$@"
exit 1
}
RUNDIR=`pwd 2> /dev/null`
if [ -z $RUNDIR ]; then
RUNDIR=`pwd`
fi;
[ -d
www.eeworm.com/read/413855/2157346
sh start_up.sh
#!/bin/bash
# $1 is sqbool true/false
# $2 is rate (2/4/11/22)
# $3 is machine name
# $4 is directory of click (eg. /root/work/click/)
# $5 is rtx_timeout
# $6 is max_xmits
# $7 is eabool true/false
www.eeworm.com/read/412408/2170579
em8xxx_unload
#!/bin/bash
[ $UID -eq 0 ] || { echo You must be root to install ; exit 1 ; }
/sbin/rmmod em8xxx || exit 1
rm -f /dev/em8xxx[0123456789]*
echo "em8xxx module unloaded"
www.eeworm.com/read/407756/2258898
ttype
#!/bin/bash
# Scriptname: ttype
# Purpose: set the terminal type
# Author: Andy Admin
COLUMNS=60
LINES=1
PS3="Please enter the terminal type: "
select choice in wyse50 vt200 xterm sun
do
case $REPL
www.eeworm.com/read/407756/2258911
idcheck2
#!/bin/bash
# Scriptname: idcheck
# purpose:check user id to see if user is root.
# Only root has a uid of 0.
# Format for id output:uid=9496(ellie) gid=40 groups=40
# root's uid=0
id=`id | ga
www.eeworm.com/read/407641/2261200
em8xxx_unload
#!/bin/bash
[ $UID -eq 0 ] || { echo You must be root to install ; exit 1 ; }
/sbin/rmmod em8xxx || exit 1
rm -f /dev/em8xxx[0123456789]*
echo "em8xxx module unloaded"
www.eeworm.com/read/381830/2640255
sh kernel.patch.gen.sh
#!/bin/bash
#
# RCSID $Id: kernel.patch.gen.sh,v 1.4 1999/04/06 04:54:30 rgb Exp $
patchdir=`pwd`
kernelsrc=/usr/src/linux
[ "$1~" = "~" ] || kernelsrc=$1
cd $kernelsrc
# clean out destination file f
www.eeworm.com/read/378694/2683033
sh archive.sh
#!/bin/bash -e
# run this cron for example every hour, content of your /etc/cron.d/piwik-archive
#MAILTO="youremail@example.com"
#1 * * * * www-data /path/to/piwik/misc/cron/archive.sh > /dev/null
#