代码搜索:bash
找到约 5,321 项符合「bash」的源代码
代码结果 5,321
www.eeworm.com/read/223165/14650970
clean-all
#!/bin/bash
#
# Initialize the $KEY_DIR directory.
# Note that this script does a
# rm -rf on $KEY_DIR so be careful!
#
d=$KEY_DIR
if test $d; then
rm -rf $d
mkdir $d && \
chmod go-rwx $d && \
www.eeworm.com/read/16793/690972
xterm_title
#! /bin/bash
#
# xterm_title - print the contents of the xterm title bar
#
# Derived from http://www.clark.net/pub/dickey/xterm/xterm.faq.html#how2_title
#
P=${0##*/}
[ -z "$DISPLAY" ] && {
echo "${P
www.eeworm.com/read/16793/690977
sh adventure.sh
#!/bin/bash
# ash -- "Adventure shell"
# last edit: 86/04/21 D A Gwyn
# SCCS ID: @(#)ash.sh 1.4
OPATH=$PATH
ask()
{
echo -n "$@" '[y/n] '
read ans
case "$ans" in
y*|Y*)
return 0
;;
*)
re
www.eeworm.com/read/16793/691019
ianmac complete2.ianmac
#####
#From: ian@linuxcare.com (Ian Macdonald)
#Newsgroups: comp.unix.shell
#Subject: More bash 2.04 completions
#Date: 12 Aug 2000 09:53:40 GMT
#Organization: Linuxcare, Inc.
#Lines: 274
#Message-ID:
www.eeworm.com/read/16793/691344
sub func2.sub
funca() (
echo func-a
)
funcb() ( echo func-b )
funcc() (
echo func-c
) 2>&1
type funca
type funcb
type funcc
funca
funcb
funcc
# when not in posix mode, bash allows non-identifiers as function
www.eeworm.com/read/16793/691512
po ca.po
# Catalan messages for the GNU bash-2.0
# Copyright (C) 2002, 2003 Free Software Foundation, Inc.
# Montxo Vicente i Sempere , 2003.
# Jordi Mas i Hern?ndez ,
www.eeworm.com/read/35675/1059624
months
#!/bin/bash
# Scriptname: months
for month in Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
do
for week in 1 2 3 4
do
echo -n "Processing the month of $month. OK? "
read ans
if [ "$ans" =
www.eeworm.com/read/491010/1194015
create-this-app
#!/bin/bash
#
# This script creates the factory image application in this directory.
BSP_DIR=../../bsp/hal_reduced_footprint
QUARTUS_PROJECT_DIR=../../../
NIOS2_APP_GEN_ARGS="--elf-name app_image_sw
www.eeworm.com/read/470917/1440234
sed ldd-rewrite.sed
/LD_TRACE_LOADED_OBJECTS=1/a\
add_env="$add_env LD_LIBRARY_VERSION=\\$verify_out"
# ldd is generated from elf/ldd.bash.in with the name
# of ld.so as generated in Makeconfig
# that name is replaced