代码搜索:bash
找到约 5,321 项符合「bash」的源代码
代码结果 5,321
www.eeworm.com/read/268797/11121347
sh bug-args.sh
#!/usr/bin/bash
# $Id: bug-args.sh.in,v 1.2 2006/12/19 00:39:28 rockyb Exp $
echo First parm is: $1
set a b c d e
shift 2
# At this point we shouldn't have a $5 or a $4
exit 0
www.eeworm.com/read/268797/11121556
sub dbg-test1.sub
# This file is intended to be sourced from one of the bashdb test programs
sourced_fn() {
name="fn2"
echo "SOURCED FN LINENO $LINENO"
# Print a stack trace
declare -i n
n=${#FUNC
www.eeworm.com/read/265772/11254365
install
Here is a 3 step install process:
1) Create an appropriate directory and extract the files
from HDTrans' source tarball
2) make
3) export HDTRANS_SODIR=`pwd`
This environment variable is nee
www.eeworm.com/read/203062/15366664
sh do_all_the_things_that_configure_should_normally_do.sh
#!/bin/bash
./getconfig.sh
config/cleanconf.sh -a
./configure --enable-fulloptimize --disable-hdf5
www.eeworm.com/read/237257/13970319
chm oreilly.learning.the.bash.shell.3rd.edition.mar.2005.chm
www.eeworm.com/read/419967/10825657
rungaucho
#!/bin/bash
if [ $# -ne 1 -o "_$1" = _-h -o "_$1" = _--help ]
then
echo "Usage: $0 "
echo " image-descriptor usually is of the form page@file, e.g."
echo " 5@paper.ps"
exit 1
f
www.eeworm.com/read/469590/6932201
runfromshell
#!/bin/bash
export REQUEST_METHOD=GET
export QUERY_STRING="fname=dave&lname=hollinger&ssn=1234"
./handleform.cgi
www.eeworm.com/read/469590/6932290
runfromshell
#!/usr/local/bin/bash
export REQUEST_METHOD=GET
export QUERY_STRING="fname=dave&lname=hollinger&ssn=1234"
./handleform.cgi
www.eeworm.com/read/438832/7725438
sh csubloop.sh
#!/bin/bash
# csubloop.sh: 将循环输出的内容设置到变量中.
variable1=`for i in 1 2 3 4 5
do
echo -n "$i" # 对于在这里的命令替换来说
done` #+ 这个'echo'命令是非常关键的.
echo "variable1 = $va