代码搜索:bash
找到约 5,321 项符合「bash」的源代码
代码结果 5,321
www.eeworm.com/read/414420/2150388
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/408818/2245984
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/407990/2256656
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/407756/2258860
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/407756/2258870
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/407756/2258892
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/406866/2272879
laddiecode
#!/bin/bash
# Copy the laddie code tar file from the CD and untar it into the ramdisk
# filesystem.
# Let other startup processes complete first.
sleep 6
if [ -f /media/cdrom/Code.tgz ]; then
cd
www.eeworm.com/read/400650/2348576
sh create_example_docs.sh
#!/bin/bash
#
# This shell script is a wrapper for the script ex2html.sh
# also located in this directory. This script calls ex2html.sh
# for all of the example programs.
# How many examples are the
www.eeworm.com/read/398902/2367498
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/398634/2374467
h ansi_stdlib.h
/* ansi_stdlib.h -- An ANSI Standard stdlib.h. */
/* A minimal stdlib.h containing extern declarations for those functions
that bash uses. */
/* Copyright (C) 1993 Free Software Foundation, Inc.