代码搜索:bash
找到约 5,321 项符合「bash」的源代码
代码结果 5,321
www.eeworm.com/read/250731/4428084
in smsd.in
#!/usr/bin/env bash
####################
#
# $Id: smsd.in 3786 2007-01-03 15:05:11Z mortenv $
# This file is part of Network Administration Visualized.
# This script controls start/stop/status of the
www.eeworm.com/read/246048/4498692
ltypes
#!/bin/bash
if [ $# -ne 1 ]
then
echo "usage: Ltypes filename" >&2
exit 2
fi
FILE="$1"
#TMPFILE='mktemp "${FILE}.XXXXXX"' || exit 1
TMPFILE=${FILE}.`date "+%s"`
touch $TMPFILE || exit 1
# C
www.eeworm.com/read/242657/4549974
readme
James -
I found a couple of problems in my original patch, but I believe this one
works.
In order to use it:
1) Open a Cygwin console and:
Unpack the sources:
[bash-2.02]$ cd $ACE_ROOT/apps
www.eeworm.com/read/240952/4564533
skype_bt_hijacker
#!/bin/bash
BINPATH=.
PATH=${BINPATH}:${PATH}
SECONDARYDEV=/dev/dsp1 \
HIJACKDSP=/dev/dsp \
SWITCHFILE=/tmp/switch_dsp \
LD_PRELOAD=${BINPATH}/libskype_bt_hijacker.so \
skype
www.eeworm.com/read/239418/4601306
ssh-host-config
#!/bin/bash
#
# ssh-host-config, Copyright 2000, 2001, 2002, 2003 Red Hat Inc.
#
# This file is part of the Cygwin port of OpenSSH.
# Subdirectory where the new package is being installed
PREFIX=/usr
www.eeworm.com/read/239312/4602398
tellme2
#!/bin/bash
# Using the new (( )) compound let command
# Scriptname: tellme2
echo -n "How old are you? "
read age
if (( age < 0 || age > 120 ))
then
echo "Welcome to our planet! "
exit 1
fi
if (
www.eeworm.com/read/239312/4602408
printer_check
#!/bin/bash
# Scriptname: printer_check
# Script to clear a hung-up printer
if [ $LOGNAME != root ]
then
echo "Must have root privileges to run this program"
exit 1
fi
cat
www.eeworm.com/read/239312/4602430
goodboys
#!/bin/bash
# Scriptname name: goodboys
PS3="Please choose one of the three boys : "
select choice in tom dan guy
do
case $choice in
tom)
echo Tom is a cool dude!
break;; # break out
www.eeworm.com/read/237463/4627587
svn-base shell.txt.svn-base
#!/bin/bash
MESSAGE="All Up-sell componets will be removed during this uninstall"
SHARED_WARNING1="This application installed files which may be shared by other"
SHARED_WARNING2="programs. Remo
www.eeworm.com/read/237463/4627608
txt shell.txt
#!/bin/bash
MESSAGE="All Up-sell componets will be removed during this uninstall"
SHARED_WARNING1="This application installed files which may be shared by other"
SHARED_WARNING2="programs. Remo