代码搜索:bash

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

代码结果 5,321
www.eeworm.com/read/339483/12231645

sh ifs.sh

#!/bin/bash # $IFS treats whitespace differently than other characters. output_args_one_per_line() { for arg do echo "[$arg]" done } echo; echo "IFS=\" \"" echo "-------" IFS=" " var=" a b c
www.eeworm.com/read/339483/12231648

sh bad-op.sh

#!/bin/bash # bad-op.sh: Trying to use a string comparison on integers. echo number=1 # The following "while loop" has two errors: #+ one blatant, and the other subtle. while [ "$number" < 5 ] #
www.eeworm.com/read/339483/12231695

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/339483/12231701

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/339483/12231803

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/252193/12294589

sh reset_wrong.sh

#!/bin/bash #defind passwd ip file env read –p 'input password : ' –s passwd read –p 'input serverip files :' –s ip #you may change the local differient it file #example ipbj for host in '
www.eeworm.com/read/232412/14195609

sh joingroup.sh

#!/bin/bash ARGS=$@ function usage() { echo "Usage: joingroup [process-ID] ...... [process-group]" echo exit -1 } if (($# < 2)); then usage fi for CHECK in $ARGS; do echo $CHECK | grep [0-9
www.eeworm.com/read/231996/14212246

setup

#!/bin/bash -x libtoolize --force --copy aclocal-1.9 autoheader automake-1.9 --add-missing --copy --gnu autoconf if test -f config.status; then sh config.status fi
www.eeworm.com/read/127261/14363788

liblinuxlive

#!/bin/bash # Functions library :: for Linux Live scripts # Author: Tomas Matejicek # Chinese Patch Author: atfa # # header # $1 = text to show
www.eeworm.com/read/225994/14505539

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