代码搜索:bash
找到约 5,321 项符合「bash」的源代码
代码结果 5,321
www.eeworm.com/read/489414/6471004
txt t1.txt
#!/bin/bash
# Student Comsa Radu tema 1 laborator index 18
# daca se introduc parametri se va afisa textul de mai jos
if test $# -gt 0
then
echo "scriptul ruleaza fara argumente"
echo "rulat
www.eeworm.com/read/346656/11733718
cgi feedback_sendmail.cgi
#!/usr/bin/perl -wT
use strict;
use CGI;
# Clean up environment for taint mode before calling sendmail
BEGIN {
$ENV{PATH} = "/bin:/usr/bin";
delete @ENV{ qw( IFS CDPATH ENV BASH_ENV ) };
}
www.eeworm.com/read/344541/11873719
setenv
#!/bin/bash
#export ThirdPartyLibDIR=$PWD/3rdparty/lib
#export ThirdPartyIncludeDIR=$PWD/3rdparty/include
export QTDIR=$PWD/qt
export QPEDIR=$PWD/qpe
export TMAKEDIR=$PWD/tmake
export TMAKEPATH=$TMAKE
www.eeworm.com/read/344538/11873780
setenv
#!/bin/bash
#export ThirdPartyLibDIR=$PWD/3rdparty/lib
#export ThirdPartyIncludeDIR=$PWD/3rdparty/include
export QTDIR=$PWD/qt
export QPEDIR=$PWD/qpe
export TMAKEDIR=$PWD/tmake
export TMAKEPATH=$TMAKE
www.eeworm.com/read/339483/12230388
sh and-list2.sh
#!/bin/bash
ARGS=1 # Number of arguments expected.
E_BADARGS=65 # Exit value if incorrect number of args passed.
test $# -ne $ARGS && echo "Usage: `basename $0` $ARGS argument(s)" && exit $E
www.eeworm.com/read/339483/12230455
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/339483/12230550
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/339483/12230566
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 "
www.eeworm.com/read/339483/12230573
sh broken-link.sh
#!/bin/bash
# broken-link.sh
# Written by Lee bigelow <ligelowbee@yahoo.com>
# Used with permission.
#A pure shell script to find dead symlinks and output them quoted
#so they can be fed to xar
www.eeworm.com/read/339483/12230649
sh line-number.sh
#!/bin/bash
# line-number.sh
# This script echoes itself twice to stdout with its lines numbered.
# 'nl' sees this as line 4 since it does not number blank lines.
# 'cat -n' sees the above line as n