代码搜索:Script
找到约 10,000 项符合「Script」的源代码
代码结果 10,000
www.eeworm.com/read/363740/9938381
cpp actioncompiler.cpp
#include
#include
#include "../fbase.h"
#include "../faction.h"
#include "action.h"
#include "actioncompiler.h"
CompiledActions::CompiledActions(char *data, int len)
www.eeworm.com/read/167987/9942656
functrap
#!/bin/ksh
# Script name: functrap
# Example 10.132
function trapper {
print "In trapper"
trap 'print "Caught in a trap!"' INT
print "Got here."
sleep 25
}
while :
do
print "In
www.eeworm.com/read/167987/9942722
printer_check
#!/bin/sh
# Script name: printer_check
# Script to clear a hung up printer for SVR4
if [ $LOGNAME != root ]
then
echo "Must have root privileges to run this program"
exit 1
fi
cat
www.eeworm.com/read/167987/9942741
quiz
#!/bin/sh
# Script name: quiz
echo "Who was the chief defense lawyer in the OJ case?"
read answer
while [ "$answer" != "Johnny" ]
do
echo "Wrong try again!"
read answer
done
echo You got it!
www.eeworm.com/read/167987/9942758
dater
#!/bin/sh
# Script name: dater
# Purpose: set positional parameters with the set command
# and shift through the parameters.
set `date`
while [ $# -gt 0 ]
do
echo $1
shift
done