代码搜索:bash

找到约 5,321 项符合「bash」的源代码

代码结果 5,321
www.eeworm.com/read/458682/7291728

sh ex25.sh

#!/bin/bash var0=0 LIMIT=10 while [ "$var0" -lt "$LIMIT" ] # ^ ^ # Spaces, because these are "test-brackets" . . . do echo -n "$var0 " # -n suppresses newline. #
www.eeworm.com/read/458682/7291742

sh col-totaler.sh

#!/bin/bash # Adds up a specified column (of numbers) in the target file. ARGS=2 E_WRONGARGS=65 if [ $# -ne "$ARGS" ] # Check for proper no. of command line args. then echo "Usage: `basename $0`
www.eeworm.com/read/458682/7291744

sh break-levels.sh

#!/bin/bash # break-levels.sh: Breaking out of loops. # "break N" breaks out of N level loops. for outerloop in 1 2 3 4 5 do echo -n "Group $outerloop: " # -----------------------------------
www.eeworm.com/read/458682/7291779

sh kill-byname.sh

#!/bin/bash # kill-byname.sh: Killing processes by name. # Compare this script with kill-process.sh. # For instance, #+ try "./kill-byname.sh xterm" -- #+ and watch all the xterms on your desktop di
www.eeworm.com/read/457692/7320880

sh huawei-mobile.sh

#!/bin/bash # # (c)opyleft 2007 by 00ZIE # # This software gives you no warranty whatsoever, you can copy and modify # it under terms and conditions of GPLv2 or later availabl
www.eeworm.com/read/439363/7711546

cppcms_run

#!/usr/bin/env bash locate_server() { NAME=$1 if [ "$WEB_SERVER" != "" ] ; then return fi WEB_SERVER="`which $NAME 2>/dev/null`" if [ "$WEB_SERVER" != "" ] ; then return fi for p in /usr
www.eeworm.com/read/438832/7725301

sh directory-info.sh

#! /bin/bash # directory-info.sh # Parses and lists directory information. # NOTE: Change lines 273 and 353 per "README" file. # Michael Zick is the author of this script. # Used here with his permi
www.eeworm.com/read/438832/7725396

sh ex29.sh

#!/bin/bash # 测试字符串范围. echo; echo "Hit a key, then hit return." read Keypress case "$Keypress" in [[:lower:]] ) echo "Lowercase letter";; [[:upper:]] ) echo "Uppercase letter";; [0-9]
www.eeworm.com/read/438832/7725406

sh archiveweblogs.sh

#!/bin/bash # archiveweblogs.sh v1.0 # Troy Engel <tengel@fluid.com> # Slightly modified by document author. # Used with permission. # # This script will preserve the normally rotated and #+ t
www.eeworm.com/read/438832/7725875

sh int-or-string.sh

#!/bin/bash # int-or-string.sh: 整型还是字符串? a=2334 # 整型. let "a += 1" echo "a = $a " # a = 2335 echo # 还是整型. b=${a/23/BB} # 将"23"替换成"BB".