代码搜索:bash
找到约 5,321 项符合「bash」的源代码
代码结果 5,321
www.eeworm.com/read/16793/691620
c arrayfunc.c
/* arrayfunc.c -- High-level array functions used by other parts of the shell. */
/* Copyright (C) 2001-2010 Free Software Foundation, Inc.
This file is part of GNU Bash, the Bourne Again SHell.
www.eeworm.com/read/16793/691658
platforms
The version of bash in this directory has been compiled on the
following systems:
By chet:
SunOS 4.1.4
SunOS 5.5
BSDI BSD/OS 2.1
FreeBSD 2.2
NetBSD 1.2
AIX 4.2
AIX 4.1.4
HP/UX 9.05, 10.01, 10.10, 10
www.eeworm.com/read/35675/1059599
tellme
#!/bin/bash
# Scriptname: tellme
# Using the old-style test command
echo -n "How old are you? "
read age
if [ $age -lt 0 -o $age -gt 120 ]
then
echo "Welcome to our planet! "
exit 1
f
www.eeworm.com/read/35675/1059600
opts4
#!/bin/bash
# Program: opts4
# Using getopts -- Fourth try --
while getopts xyz: arguments 2>/dev/null
do
case $arguments in
x) echo "you entered -x as an option .";;
y) echo "you entered -y as an
www.eeworm.com/read/35675/1059601
opts1
#!/bin/bash
# Program: opts1
# Using getopts -- First try --
while getopts xy options
do
case $options in
x) echo "you entered -x as an option";;
y) echo "you entered -y as an option";;
esac
done
www.eeworm.com/read/35675/1059635
num
#!/bin/bash
# Scriptname: num
num=0 # Initialize num
while (( $num < 10 )) # or while [ num -lt 10 ]
do
echo -n "$num "
let num+=1 # Increment num
done
echo -e "\nAfter loop exits
www.eeworm.com/read/480930/1312237
makelst
#!/bin/bash
# A script to dump mixed source code & assembly
# with correct relocations from System.map
# Requires the following lines in Rules.make.
# Author(s): DJ Barrow (djbarrow@de.ibm.com,barrow_
www.eeworm.com/read/471347/1431526
sh broken-link.sh
#!/bin/bash
# broken-link.sh
# Written by Lee bigelow
# Modified and commented by oyxin
# Used with permission.
# 说明:用来找出死链接文件并且输出它们的路径
########################################
www.eeworm.com/read/466392/1511212
sh airoscfunc.sh
#!/bin/bash
# Funcion file used by airoscript
CHOICES="1 2 3 4 5 6 7 8 9 10 11 12"
export TEXTDOMAINDIR=/usr/share/locale
export TEXTDOMAIN=airoscript
if [ "$UNSTABLE" = "1" ]; then
if [ -e $UNSTABL
www.eeworm.com/read/242732/4540596
in mcfn_install.in
#/bin/sh
#
prefix=@prefix@
if test -n `echo $prefix | grep prefix`; then
prefix=/usr/local
fi
if test x$BASH = x; then
BASHRC=
else
BASHRC=~/.bashrc
fi
if test "x$EUID" = x0; th