代码搜索:bash
找到约 5,321 项符合「bash」的源代码
代码结果 5,321
www.eeworm.com/read/100263/15879589
h posixstat.h
/* posixstat.h -- Posix stat(2) definitions for systems that
don't have them. */
/* Copyright (C) 1987,1991 Free Software Foundation, Inc.
This file is part of GNU Bash, the Bourne Again SHell
www.eeworm.com/read/285751/8820378
c funcfix.c
#! /bin/bash
FILE="$1"
echo "FuncFix.x file: $FILE"
#sleep 3
sed -n '/[a.-zA.-Z].*(.*)$/=' $FILE > pszFunc.txt #
sed -n '/^{/=' $FILE > pszLeftBracket.txt #
www.eeworm.com/read/380140/9160197
rcsplash
#! /bin/bash
# Copyright (c) 1995-2000 SuSE GmbH Nuernberg, Germany.
#
# Author: Michael Schroeder
#
# /etc/init.d/splash
# /usr/sbin/rcsplash
#
# System startup script for console
www.eeworm.com/read/374494/9402897
tst-long-group-entry
#!/bin/bash
export LANG=C
TEMPDIR=`mktemp -d tests.XXXXXX`
touch $TEMPDIR/{group,passwd}
./groupadd -P $TEMPDIR primary
RET=$?
if [ $RET != 0 ]; then
rm -rf $TEMPDIR
exit $RET
fi
./groupadd -P $T
www.eeworm.com/read/359816/10123875
mkdisk0
#! /bin/bash
#
# Add the following lines to your ~/.mtoolsrc file before running this script
#
# drive z: file="/tmp/disk0.img" partition=1
# drive y: file="/tmp/disk0.img" partition=2
#
#
#
www.eeworm.com/read/175081/6959297
collect
#!/bin/bash
gawk '
function output() {
if ((shape != "-v") && (shape != "-V")) {
flags = shape; shape = ""; }
if (substr(flags, 1, 1) != "-")
flags = "";
printf("%-7s %d %-9s %2s %-6s",
www.eeworm.com/read/464279/7166923
sh ex-11-09_break.sh
#!/bin/bash
# Chapter 11 - The break command
# This example demonstrates how to break out of a nested loop
for i in 1 2 3 4 5
do
mkdir -p /mnt/backup/docs/ch0${i}
if [ $? -eq 0 ] ; then
www.eeworm.com/read/458682/7291350
sh self-document.sh
#!/bin/bash
# self-document.sh: self-documenting script
# Modification of "colm.sh".
DOC_REQUEST=70
if [ "$1" = "-h" -o "$1" = "--help" ] # Request help.
then
echo; echo "Usage: $0 [directory
www.eeworm.com/read/458682/7291388
sh unit-conversion.sh
#!/bin/bash
# unit-conversion.sh
convert_units () # Takes as arguments the units to convert.
{
cf=$(units "$1" "$2" | sed --silent -e '1p' | awk '{print $2}')
# Strip off everything except the
www.eeworm.com/read/458682/7291394
sh for-loopcmd.sh
#!/bin/bash
# for-loopcmd.sh: for-loop with [list]
#+ generated by command substitution.
NUMBERS="9 7 3 8 37.53"
for number in `echo $NUMBERS` # for number in 9 7 3 8 37.53
do
echo -n "$number "