code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#!/bin/sh
../midi3mus/midi3mus input/tnfdm.mid output/tnfdm.mus
sh md5sum.sh output/tnfdm.mus
| Shell |
#!/bin/sh
../lswad/lswad -lhH "$IWAD"
| Shell |
#!/bin/sh
../qmus2mid/qmus2mid input/D_RUNNIN.lmp output/D_RUNNIN.mid
sh md5sum.sh output/D_RUNNIN.mid
| Shell |
#!/bin/sh
( echo d; echo 1; echo 3; echo n; echo 2; echo 7; echo y) | ../trigcalc/trigcalc -
| Shell |
#!/bin/sh
../mkxppal/mkxppal
../mkxppal/mkxppal -c heretic
../mkxppal/mkxppal -c hexen
../mkxppal/mkxppal -c strife
| Shell |
#!/bin/sh
../lswad/lswad -F "$IWAD"
| Shell |
#!/bin/sh
PATH=../wadwhich:../wadldc:../wadlc:../lswad:../warm:$PATH
export PATH
rm -f *.wcgmap
ln -s ../wadconvgame/*.wcgmap .
../wadconvgame/wadconvgame -o output/converted.wad input/map01.wad
../lswad/lswad output/converted.wad
sh md5sum.sh output/converted.wad
rm -f *.wcgmap
| Shell |
#!/bin/sh
../wadext/wadext "$IWAD" D_RUNNIN output/D_RUNNIN.lmp
sh md5sum.sh output/D_RUNNIN.lmp
| Shell |
#!/bin/sh
../pal2c/pal2c "$IWAD" 0 prefix0
../pal2c/pal2c "$IWAD" 1 prefix1
../pal2c/pal2c "$IWAD" 2 prefix2
| Shell |
#!/bin/sh
../lswad/lswad -P "$IWAD"
| Shell |
#!/bin/sh
# This script should probably do more testing than it
# does right now. All it does is replace MAP01 and MAP02 music with
# something very familiar...
../mkwad/mkwad output/mkwad.wad D_RUNNIN input/tnfdm.mus D_STALKS input/tnfdm.mus
sh md5sum.sh output/mkwad.wad
| Shell |
#!/bin/sh
../spitwad/spitwad "$IWAD" | grep -v freedoom.wad
| Shell |
#!/bin/sh
rm -rf output/deutex
mkdir -p output/deutex
cp "$IWAD" output/deutex/doom2.wad
cd output/deutex
# For now, until deutex is smarter (see TODO)
DOOMWADDIR=.
export DOOMWADDIR
../../../deutex/deutex -extract doom2.wad
find . -type f | sort
cat wadinfo.txt textures/texture1.txt
# Don't md5sum everything, just... | Shell |
#!/bin/sh
../idbsp/waddwd input/map01.wad.nobsp output/map01.dwd
cat output/map01.dwd
| Shell |
#!/bin/sh
# Just to be safe, get rid of the line with the copyright
# symbol (which isn't in UTF-8 or anything)
../wadtxls/wadtxls -w "$IWAD" +v | grep -v Derived | grep -v freedoom.wad
| Shell |
#!/bin/sh
# "dirty" test, doesn't write to output/
rm -rf patches
../wadpat/wadpat "$IWAD"
wc -c patches/* | sed 's/^ *//'
| Shell |
#!/bin/sh
../wadldc/wadldc MAP01 "$IWAD" output/map01.map
sh md5sum.sh output/map01.map
| Shell |
#!/bin/sh
cp input/map02.wad output/wreject.wad
../reject/wreject output/wreject.wad MAP02 600
sh md5sum.sh output/wreject.wad
| Shell |
#!/bin/sh
../lswad/lswad -T "$IWAD"
| Shell |
#!/bin/sh
# Some of our target platforms use GNU coreutils (e.g. Linux),
# and some don't (e.g. FreeBSD). This script exists to reformat
# the output of the BSD-style md5(1) so it looks like the GNU
# md5sum(1)'s output.
# Tested on FreeBSD-9.0
set -e
if which md5sum >/dev/null 2>/dev/null; then
md5sum "$@"
statu... | Shell |
#!/bin/sh
# Run test suite for xwadtools.
# Needs freedoom.wad from freedoom 0.7 (where it's named doom2.wad).
# usage: runtests.sh [-c] [path/to/wad]
# By default, wad is searched for in current dir, $DOOMWADDIR,
# /usr/share/games/doom
# -c: check pre-existing results only, don't run tests
# Have tests for:
#lswa... | Shell |
#!/bin/sh
# Some of our target platforms use GNU coreutils (e.g. Linux),
# and some don't (e.g. FreeBSD). This script exists to reformat
# the output of the BSD-style md5(1) so it looks like the GNU
# md5sum(1)'s output.
# Tested on FreeBSD-9.0
set -e
if which md5sum >/dev/null 2>/dev/null; then
md5sum "$@"
statu... | Shell |
#!/bin/sh
cat <<EOF >output/wadgc.test
S_START
TESTPAT input/bodies.ppm @ 0 0 W 64 H 128
S_END
EOF
../wadgc/wadgc output/wadgc.test output/wadgc.wad
sh md5sum.sh output/wadgc.wad
rm -f temp.*
| Shell |
#!/bin/sh
cat <<EOF >output/wadgc.test
S_START
TESTPAT input/bodies.ppm @ 0 0 W 64 H 128
S_END
EOF
../wadgc/wadgc output/wadgc.test output/wadgc.wad
sh md5sum.sh output/wadgc.wad
rm -f temp.*
| Shell |
#!/bin/sh
CWD=$( pwd )
DOOMWADDIR=${DOOMWADDIR:-/usr/share/games/doom}
set -e
TKWADCADDIR=${TKWADCADDIR:-_SHAREDIR_/tkwadcad}
cd "$TKWADCADDIR"
for i in doom doom2 hexen; do
IWAD=""
if [ -e "$CWD/$i.wad" ]; then
IWAD="$CWD/$i.wad"
elif [ -e "$DOOMWADDIR/$i.wad" ]; then
IWAD="$DOOMWADDIR/$i.wad"
else
echo ... | Shell |
#!/bin/sh
# Copyright (C) 1998-2000 by Udo Munk (munkudo@aol.com)
#
# Permission to use, copy, modify, and distribute this software
# and its documentation for any purpose and without fee is
# hereby granted, provided that the above copyright notice
# appears in all copies and that both that copyright notice and
# thi... | Shell |
#!/bin/sh
# Copyright (C) 1998-2000 by Udo Munk (munkudo@aol.com)
#
# Permission to use, copy, modify, and distribute this software
# and its documentation for any purpose and without fee is
# hereby granted, provided that the above copyright notice
# appears in all copies and that both that copyright notice and
# thi... | Shell |
#!/bin/sh
# Copyright (C) 1998-2000 by Udo Munk (munkudo@aol.com)
#
# Permission to use, copy, modify, and distribute this software
# and its documentation for any purpose and without fee is
# hereby granted, provided that the above copyright notice
# appears in all copies and that both that copyright notice and
# thi... | Shell |
#!/bin/sh
# Copyright (C) 1998-2000 by Udo Munk (munkudo@aol.com)
#
# Permission to use, copy, modify, and distribute this software
# and its documentation for any purpose and without fee is
# hereby granted, provided that the above copyright notice
# appears in all copies and that both that copyright notice and
# thi... | Shell |
#!/bin/sh
# Copyright (C) 1998-2000 by Udo Munk (munkudo@aol.com)
#
# Permission to use, copy, modify, and distribute this software
# and its documentation for any purpose and without fee is
# hereby granted, provided that the above copyright notice
# appears in all copies and that both that copyright notice and
# thi... | Shell |
#!/bin/sh
# Copyright (C) 1998-2000 by Udo Munk (munkudo@aol.com)
#
# Permission to use, copy, modify, and distribute this software
# and its documentation for any purpose and without fee is
# hereby granted, provided that the above copyright notice
# appears in all copies and that both that copyright notice and
# thi... | Shell |
#!/bin/sh
# Copyright (C) 1998-2000 by Udo Munk (munkudo@aol.com)
#
# Permission to use, copy, modify, and distribute this software
# and its documentation for any purpose and without fee is
# hereby granted, provided that the above copyright notice
# appears in all copies and that both that copyright notice and
# thi... | Shell |
#!/bin/sh
# Copyright (C) 1998-2000 by Udo Munk (munkudo@aol.com)
#
# Permission to use, copy, modify, and distribute this software
# and its documentation for any purpose and without fee is
# hereby granted, provided that the above copyright notice
# appears in all copies and that both that copyright notice and
# thi... | Shell |
#!/bin/sh
# Copyright (C) 1998-2000 by Udo Munk (munkudo@aol.com)
#
# Permission to use, copy, modify, and distribute this software
# and its documentation for any purpose and without fee is
# hereby granted, provided that the above copyright notice
# appears in all copies and that both that copyright notice and
# thi... | Shell |
#!/bin/sh
# Copyright (C) 1998-2000 by Udo Munk (munkudo@aol.com)
#
# Permission to use, copy, modify, and distribute this software
# and its documentation for any purpose and without fee is
# hereby granted, provided that the above copyright notice
# appears in all copies and that both that copyright notice and
# thi... | Shell |
#!/bin/sh
# Copyright (C) 1998-2000 by Udo Munk (munkudo@aol.com)
#
# Permission to use, copy, modify, and distribute this software
# and its documentation for any purpose and without fee is
# hereby granted, provided that the above copyright notice
# appears in all copies and that both that copyright notice and
# thi... | Shell |
#!/bin/sh
# Copyright (C) 1998-2000 by Udo Munk (munkudo@aol.com)
#
# Permission to use, copy, modify, and distribute this software
# and its documentation for any purpose and without fee is
# hereby granted, provided that the above copyright notice
# appears in all copies and that both that copyright notice and
# thi... | Shell |
#!/bin/sh
# Copyright (C) 1998-2000 by Udo Munk (munkudo@aol.com)
#
# Permission to use, copy, modify, and distribute this software
# and its documentation for any purpose and without fee is
# hereby granted, provided that the above copyright notice
# appears in all copies and that both that copyright notice and
# thi... | Shell |
#!/bin/sh
# Copyright (C) 1998-2000 by Udo Munk (munkudo@aol.com)
#
# Permission to use, copy, modify, and distribute this software
# and its documentation for any purpose and without fee is
# hereby granted, provided that the above copyright notice
# appears in all copies and that both that copyright notice and
# thi... | Shell |
#!/bin/sh
# Copyright (C) 1998-2000 by Udo Munk (munkudo@aol.com)
#
# Permission to use, copy, modify, and distribute this software
# and its documentation for any purpose and without fee is
# hereby granted, provided that the above copyright notice
# appears in all copies and that both that copyright notice and
# thi... | Shell |
#!/bin/sh
# Copyright (C) 1998-2000 by Udo Munk (munkudo@aol.com)
#
# Permission to use, copy, modify, and distribute this software
# and its documentation for any purpose and without fee is
# hereby granted, provided that the above copyright notice
# appears in all copies and that both that copyright notice and
# thi... | Shell |
#!/bin/sh
# Copyright (C) 1998-2000 by Udo Munk (munkudo@aol.com)
#
# Permission to use, copy, modify, and distribute this software
# and its documentation for any purpose and without fee is
# hereby granted, provided that the above copyright notice
# appears in all copies and that both that copyright notice and
# thi... | Shell |
#!/bin/sh
# Copyright (C) 1998-2000 by Udo Munk (munkudo@aol.com)
#
# Permission to use, copy, modify, and distribute this software
# and its documentation for any purpose and without fee is
# hereby granted, provided that the above copyright notice
# appears in all copies and that both that copyright notice and
# thi... | Shell |
#!/bin/sh
# Copyright (C) 1998-2000 by Udo Munk (munkudo@aol.com)
#
# Permission to use, copy, modify, and distribute this software
# and its documentation for any purpose and without fee is
# hereby granted, provided that the above copyright notice
# appears in all copies and that both that copyright notice and
# thi... | Shell |
#!/bin/sh
# Copyright (C) 1998-2000 by Udo Munk (munkudo@aol.com)
#
# Permission to use, copy, modify, and distribute this software
# and its documentation for any purpose and without fee is
# hereby granted, provided that the above copyright notice
# appears in all copies and that both that copyright notice and
# thi... | Shell |
#!/bin/sh
# Copyright (C) 1998-2000 by Udo Munk (munkudo@aol.com)
#
# Permission to use, copy, modify, and distribute this software
# and its documentation for any purpose and without fee is
# hereby granted, provided that the above copyright notice
# appears in all copies and that both that copyright notice and
# thi... | Shell |
#!/bin/sh
# Copyright (C) 1998-2000 by Udo Munk (munkudo@aol.com)
#
# Permission to use, copy, modify, and distribute this software
# and its documentation for any purpose and without fee is
# hereby granted, provided that the above copyright notice
# appears in all copies and that both that copyright notice and
# thi... | Shell |
#!/bin/sh
# Copyright (C) 1998-2000 by Udo Munk (munkudo@aol.com)
#
# Permission to use, copy, modify, and distribute this software
# and its documentation for any purpose and without fee is
# hereby granted, provided that the above copyright notice
# appears in all copies and that both that copyright notice and
# thi... | Shell |
#!/bin/sh
# Copyright (C) 1998-2000 by Udo Munk (munkudo@aol.com)
#
# Permission to use, copy, modify, and distribute this software
# and its documentation for any purpose and without fee is
# hereby granted, provided that the above copyright notice
# appears in all copies and that both that copyright notice and
# thi... | Shell |
#!/bin/sh
# Copyright (C) 1998-2000 by Udo Munk (munkudo@aol.com)
#
# Permission to use, copy, modify, and distribute this software
# and its documentation for any purpose and without fee is
# hereby granted, provided that the above copyright notice
# appears in all copies and that both that copyright notice and
# thi... | Shell |
#!/bin/sh
# Copyright (C) 1998-2000 by Udo Munk (munkudo@aol.com)
#
# Permission to use, copy, modify, and distribute this software
# and its documentation for any purpose and without fee is
# hereby granted, provided that the above copyright notice
# appears in all copies and that both that copyright notice and
# thi... | Shell |
#!/bin/sh
# Copyright (C) 1998-2000 by Udo Munk (munkudo@aol.com)
#
# Permission to use, copy, modify, and distribute this software
# and its documentation for any purpose and without fee is
# hereby granted, provided that the above copyright notice
# appears in all copies and that both that copyright notice and
# thi... | Shell |
#!/bin/sh
# Copyright (C) 1998-2000 by Udo Munk (munkudo@aol.com)
#
# Permission to use, copy, modify, and distribute this software
# and its documentation for any purpose and without fee is
# hereby granted, provided that the above copyright notice
# appears in all copies and that both that copyright notice and
# thi... | Shell |
#!/bin/sh
# Copyright (C) 1998-2000 by Udo Munk (munkudo@aol.com)
#
# Permission to use, copy, modify, and distribute this software
# and its documentation for any purpose and without fee is
# hereby granted, provided that the above copyright notice
# appears in all copies and that both that copyright notice and
# thi... | Shell |
#!/bin/sh
# Copyright (C) 1998-2000 by Udo Munk (munkudo@aol.com)
#
# Permission to use, copy, modify, and distribute this software
# and its documentation for any purpose and without fee is
# hereby granted, provided that the above copyright notice
# appears in all copies and that both that copyright notice and
# thi... | Shell |
#!/bin/sh
CWD=$( pwd )
DOOMWADDIR=${DOOMWADDIR:-/usr/share/games/doom}
set -e
TKWADCADDIR=${TKWADCADDIR:-_SHAREDIR_/tkwadcad}
cd "$TKWADCADDIR"
for i in doom doom2 hexen; do
IWAD=""
if [ -e "$CWD/$i.wad" ]; then
IWAD="$CWD/$i.wad"
elif [ -e "$DOOMWADDIR/$i.wad" ]; then
IWAD="$DOOMWADDIR/$i.wad"
else
echo ... | Shell |
#!/bin/sh
#
# A UNIX like 'man' substitute for Windows 9x/NT with Cygwin tools
#
# Copyright (C) 1999 by Udo Munk (munkudo@aol.com)
#
# Permission to use, copy, modify, and distribute this software
# and its documentation for any purpose and without fee is
# hereby granted, provided that the above copyright notice
# a... | Shell |
#!/bin/sh
#
# A UNIX like 'man' substitute for Windows 9x/NT with Cygwin tools
#
# Copyright (C) 1999 by Udo Munk (munkudo@aol.com)
#
# Permission to use, copy, modify, and distribute this software
# and its documentation for any purpose and without fee is
# hereby granted, provided that the above copyright notice
# a... | Shell |
#! /bin/sh
# AWFLIB is where the pieces live
AWFLIB=${AWFLIB-/usr/local/lib/awflib}
tmp=/tmp/awp$$ # tempfile for building pass 2
errs=/tmp/awe$$ # error messages (awk can't send to stderr)
case "$1" in
-ms) mac=ms ;;
-man) mac=man ;;
*) echo "$0: must specify -ms or -man" >&2
exit 2
;;
esac
shift
dev="$AWFLIB/... | Shell |
#! /bin/sh
# AWFLIB is where the pieces live
AWFLIB=${AWFLIB-/usr/local/lib/awflib}
tmp=/tmp/awp$$ # tempfile for building pass 2
errs=/tmp/awe$$ # error messages (awk can't send to stderr)
case "$1" in
-ms) mac=ms ;;
-man) mac=man ;;
*) echo "$0: must specify -ms or -man" >&2
exit 2
;;
esac
shift
dev="$AWFLIB/... | Shell |
#!/bin/sh
#
# convenient script to make a single program after modification
# under UNIX with debugging support
# use the native compilers for that
#
cd $1; CFLAGS="-g -DUNIX" CPPFLAGS="-g -DUNIX" CC=cc CPP=CC make
| Shell |
#!/bin/sh
#
# convenient script to make a single program after modification
# under UNIX with debugging support
# use the native compilers for that
#
cd $1; CFLAGS="-g -DUNIX" CPPFLAGS="-g -DUNIX" CC=cc CPP=CC make
| Shell |
#!/bin/sh
#
# convenient script to make a single program after modification
# under UNIX with debugging support
# use the GNU compilers for that
#
cd $1; CFLAGS="-g -Wall -DUNIX" CPPFLAGS="-g -Wall -DUNIX" CC=gcc CPP=g++ make
| Shell |
#!/bin/sh
if [ $# -lt 2 ]; then
echo Not enough arguments, bailing 1>&2
exit 1
fi
MAN6DIR="$1"
shift
for i; do
echo "Installing gzipped man page $i.gz"
[ ! -d "$i" ] && gzip -9c "$i" > $MAN6DIR/$( basename $i ).gz
done
exit 0
| Shell |
#!/bin/sh
#
# convenient script to make a single program after modification
# under UNIX with debugging support
# use the GNU compilers for that
#
cd $1; CFLAGS="-g -Wall -DUNIX" CPPFLAGS="-g -Wall -DUNIX" CC=gcc CPP=g++ make
| Shell |
#!/bin/sh
# alltxt.sh: Shell script to generate all DOOM textures lists
wadtxls -e 1 -m 1 -o e1m1.lst > /dev/null
wadtxls -e 1 -m 2 -o e1m2.lst > /dev/null
wadtxls -e 1 -m 3 -o e1m3.lst > /dev/null
wadtxls -e 1 -m 4 -o e1m4.lst > /dev/null
wadtxls -e 1 -m 5 -o e1m5.lst > /dev/null
wadtxls -e 1 -m 6 -o e1m6.lst > /dev/... | Shell |
#!/bin/sh
# alltxth.sh: Shell script to generate all Heretic textures lists
wadtxls -w heretic.wad -e 1 -m 1 -o e1m1.lst > /dev/null
wadtxls -w heretic.wad -e 1 -m 2 -o e1m2.lst > /dev/null
wadtxls -w heretic.wad -e 1 -m 3 -o e1m3.lst > /dev/null
wadtxls -w heretic.wad -e 1 -m 4 -o e1m4.lst > /dev/null
wadtxls -w here... | Shell |
#!/bin/sh
# alltxtu.sh: Shell script to generate the E4 Ultimate DOOM textures lists
wadtxls -w doomu.wad -e 4 -m 1 -o e4m1.lst > /dev/null
wadtxls -w doomu.wad -e 4 -m 2 -o e4m2.lst > /dev/null
wadtxls -w doomu.wad -e 4 -m 3 -o e4m3.lst > /dev/null
wadtxls -w doomu.wad -e 4 -m 4 -o e4m4.lst > /dev/null
wadtxls -w doo... | Shell |
#!/bin/sh
# alltxt2.sh: Shell script to generate all DOOM ][ textures lists
wadtxls -w doom2.wad -e 0 -m 1 -o map01.lst > /dev/null
wadtxls -w doom2.wad -e 0 -m 2 -o map02.lst > /dev/null
wadtxls -w doom2.wad -e 0 -m 3 -o map03.lst > /dev/null
wadtxls -w doom2.wad -e 0 -m 4 -o map04.lst > /dev/null
wadtxls -w doom... | Shell |
#!/bin/sh
# alltxt.sh: Shell script to generate all DOOM textures lists
wadtxls -e 1 -m 1 -o e1m1.lst > /dev/null
wadtxls -e 1 -m 2 -o e1m2.lst > /dev/null
wadtxls -e 1 -m 3 -o e1m3.lst > /dev/null
wadtxls -e 1 -m 4 -o e1m4.lst > /dev/null
wadtxls -e 1 -m 5 -o e1m5.lst > /dev/null
wadtxls -e 1 -m 6 -o e1m6.lst > /dev/... | Shell |
#!/bin/sh
# alltxth.sh: Shell script to generate all Heretic textures lists
wadtxls -w heretic.wad -e 1 -m 1 -o e1m1.lst > /dev/null
wadtxls -w heretic.wad -e 1 -m 2 -o e1m2.lst > /dev/null
wadtxls -w heretic.wad -e 1 -m 3 -o e1m3.lst > /dev/null
wadtxls -w heretic.wad -e 1 -m 4 -o e1m4.lst > /dev/null
wadtxls -w here... | Shell |
#!/bin/sh
# alltxt2.sh: Shell script to generate all DOOM ][ textures lists
wadtxls -w doom2.wad -e 0 -m 1 -o map01.lst > /dev/null
wadtxls -w doom2.wad -e 0 -m 2 -o map02.lst > /dev/null
wadtxls -w doom2.wad -e 0 -m 3 -o map03.lst > /dev/null
wadtxls -w doom2.wad -e 0 -m 4 -o map04.lst > /dev/null
wadtxls -w doom... | Shell |
#!/bin/sh
# alltxtu.sh: Shell script to generate the E4 Ultimate DOOM textures lists
wadtxls -w doomu.wad -e 4 -m 1 -o e4m1.lst > /dev/null
wadtxls -w doomu.wad -e 4 -m 2 -o e4m2.lst > /dev/null
wadtxls -w doomu.wad -e 4 -m 3 -o e4m3.lst > /dev/null
wadtxls -w doomu.wad -e 4 -m 4 -o e4m4.lst > /dev/null
wadtxls -w doo... | Shell |
#!/bin/sh
# wad file created with
# slige -seed 2224 -rooms 3 -doom2 -MAP01 -outfile slige.wad
#set -v
#set -x
#input
in_wad="slige.wad"
in_map="MAP01"
# doom, doom2, hexen
in_game="doom2"
tmp_dir="/tmp"
work1_wad="$tmp_dir/work1.wad"
work2_wad="$tmp_dir/work2.wad"
work_txt="$tmp_dir/work_txt_wad"
# $1 input
# ... | Shell |
#!/bin/sh
# wad file created with
# slige -seed 2224 -rooms 3 -doom2 -MAP01 -outfile slige.wad
#set -v
#set -x
#input
in_wad="slige.wad"
in_map="MAP01"
# doom, doom2, hexen
in_game="doom2"
tmp_dir="/tmp"
work1_wad="$tmp_dir/work1.wad"
work2_wad="$tmp_dir/work2.wad"
work_txt="$tmp_dir/work_txt_wad"
# $1 input
# ... | Shell |
#!/bin/sh
# Copyright (C) 1999-2000 by Udo Munk (munkudo@aol.com)
#
# Modified by B. Watson (yalhcru@gmail.com)
#
# Permission to use, copy, modify, and distribute this software
# and its documentation for any purpose and without fee is
# hereby granted, provided that the above copyright notice
# appears in all copies... | Shell |
#!/bin/sh
# Copyright (C) 1999-2000 by Udo Munk (munkudo@aol.com)
#
# Modified by B. Watson (yalhcru@gmail.com)
#
# Permission to use, copy, modify, and distribute this software
# and its documentation for any purpose and without fee is
# hereby granted, provided that the above copyright notice
# appears in all copies... | Shell |
#!/bin/sh
# Copyright (C) 1999-2000 by Udo Munk (munkudo@aol.com)
#
# Modified by B. Watson (yalhcru@gmail.com)
#
# Permission to use, copy, modify, and distribute this software
# and its documentation for any purpose and without fee is
# hereby granted, provided that the above copyright notice
# appears in all copies... | Shell |
#!/bin/sh
# Copyright (C) 1999-2000 by Udo Munk (munkudo@aol.com)
#
# Modified by B. Watson (yalhcru@gmail.com)
#
# Permission to use, copy, modify, and distribute this software
# and its documentation for any purpose and without fee is
# hereby granted, provided that the above copyright notice
# appears in all copies... | Shell |
#!/bin/sh
# Copyright (C) 1999-2000 by Udo Munk (munkudo@aol.com)
#
# Modified by B. Watson (yalhcru@gmail.com)
#
# Permission to use, copy, modify, and distribute this software
# and its documentation for any purpose and without fee is
# hereby granted, provided that the above copyright notice
# appears in all copies... | Shell |
#!/bin/sh
# Copyright (C) 1999-2000 by Udo Munk (munkudo@aol.com)
#
# Modified by B. Watson (yalhcru@gmail.com)
#
# Permission to use, copy, modify, and distribute this software
# and its documentation for any purpose and without fee is
# hereby granted, provided that the above copyright notice
# appears in all copies... | Shell |
#!/bin/sh
stty status '^T'
trap : 2
trap : 3
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin
TMOUT=0
export HOME PATH TMOUT
set -T
trap "echo 'Reboot interrupted'; exit 1" 3
kldload tmpfs
mount -a
# make some directories in /var
mkdir /var/run /var/log /var/etc /var/db /var/empty /va... | Shell |
#!/bin/sh
stty status '^T'
trap : 2
trap : 3
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin
TMOUT=0
export HOME PATH TMOUT
set -T
trap "echo 'Reboot interrupted'; exit 1" 3
kldload tmpfs
mount -a
# make some directories in /var
mkdir /var/run /var/log /var/etc /var/db /var/empty /va... | Shell |
#!/bin/sh
/sbin/ifconfig em0 inet 192.168.33.33/24 up > /tmp/ssh.log 2>&1
/sbin/ifconfig em1 inet 192.168.22.14/24 up >> /tmp/ssh.log 2>&1
route add default 192.168.22.22
route add -net 192.168.111.0/24 192.168.33.1
sleep 1
/usr/sbin/syslogd -P /var/run/syslogd.pid
/usr/local/bin/dropbearkey -t rsa -f /var/etc/ssh_rs... | Shell |
#!/bin/sh
/sbin/ifconfig em0 inet 192.168.33.33/24 up > /tmp/ssh.log 2>&1
/sbin/ifconfig em1 inet 192.168.22.14/24 up >> /tmp/ssh.log 2>&1
route add default 192.168.22.22
route add -net 192.168.111.0/24 192.168.33.1
sleep 1
/usr/sbin/syslogd -P /var/run/syslogd.pid
/usr/local/bin/dropbearkey -t rsa -f /var/etc/ssh_rs... | Shell |
#!/bin/sh
cp -R /home/etc/ /var/etc/
/sbin/ifconfig em0 inet 192.168.33.33/24 up > /tmp/ssh.log 2>&1
/sbin/ifconfig em1 inet 192.168.11.14/24 up >> /tmp/ssh.log 2>&1
/sbin/ifconfig em2 inet 192.168.22.14/24 up >> /tmp/ssh.log 2>&1
#route add default 192.168.22.22
#route add -net 192.168.111.0/24 192.168.110.1
sleep ... | Shell |
#!/bin/sh
cp -R /home/etc/ /var/etc/
/sbin/ifconfig em0 inet 192.168.33.33/24 up > /tmp/ssh.log 2>&1
/sbin/ifconfig em1 inet 192.168.11.14/24 up >> /tmp/ssh.log 2>&1
/sbin/ifconfig em2 inet 192.168.22.14/24 up >> /tmp/ssh.log 2>&1
#route add default 192.168.22.22
#route add -net 192.168.111.0/24 192.168.110.1
sleep ... | Shell |
#!/bin/sh
stty status '^T'
trap : 2
trap : 3
HOME=/
PATH=/sbin:/bin:/usr/sbin:/usr/bin
export HOME PATH
set -T
trap "echo 'Reboot interrupted'; exit 1" 3
# make some directories in /var
mkdir /var/run /var/log /var/etc /var/db /var/empty
# generate circular logfiles
clog -i -s 262144 /var/log/system.log
#clog -i ... | Shell |
#!/bin/sh
stty status '^T'
trap : 2
trap : 3
HOME=/
PATH=/sbin:/bin:/usr/sbin:/usr/bin
export HOME PATH
set -T
trap "echo 'Reboot interrupted'; exit 1" 3
# make some directories in /var
mkdir /var/run /var/log /var/etc /var/db /var/empty
# generate circular logfiles
clog -i -s 262144 /var/log/system.log
#clog -i ... | Shell |
#!/bin/sh
/sbin/umount /cf
/sbin/mount -r /dev/ad0s1d /cf
/cf/rc.cron
| Shell |
#!/bin/sh
/sbin/umount /cf
/sbin/mount -r /dev/ad0s1d /cf
/cf/rc.cron
| Shell |
#!/bin/sh
cp -Rf /cf/etc/* /etc/
/etc/netstart restart
| Shell |
#!/bin/sh
cp -Rf /cf/etc/* /etc/
/etc/netstart restart
| Shell |
#!/bin/sh
echo This script takes a minute to run. Be patient. 1>&2
LC_CTYPE=C export LC_CTYPE
# pad stdin to multiple of 120 lines
pad()
{
awk '{print} END{for(; NR%120!=0; NR++) print ""}'
}
# create formatted (numbered) files
mkdir -p fmt
rm -f fmt/*
cp README fmt
files=`grep -v '^#' runoff.list | awk '{print $... | Shell |
#!/bin/sh
echo This script takes a minute to run. Be patient. 1>&2
LC_CTYPE=C export LC_CTYPE
# pad stdin to multiple of 120 lines
pad()
{
awk '{print} END{for(; NR%120!=0; NR++) print ""}'
}
# create formatted (numbered) files
mkdir -p fmt
rm -f fmt/*
cp README fmt
files=`grep -v '^#' runoff.list | awk '{print $... | Shell |
#!/bin/bash
# The MCLinker project
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
function copy_template_header
{
local NAME=$1
local DEPLOYMENT=$2
local TARGET_FILE="${MCLINKERTOP}/lib/${DEPLOYMENT}/${NAME}.h";
local SOURCE_FIL... | Shell |
#!/bin/bash
# The MCLinker project
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
function ask_filename
{
echo -n "What is the class you what to test for? ";
}
function ask_brief
{
CLASS_NAME=$1
echo "Please brief the testcase (... | Shell |
#!/bin/bash
# The MCLinker project
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
function ask_filename
{
echo -n "What is the class name? ";
}
function ask_brief
{
CLASS_NAME=$1
echo "Please brief the class ${CLASS_NAME}: "
}
... | Shell |
#!/bin/bash
# The MCLinker project
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
function gettop()
{
local TOPFILE=tools/llvm-mcld/llvm-mcld.cpp
if [ -n "${MCLINKERTOP}" -a -f "${MCLINKERTOP}/${TOPFILE}" ]; then
echo ${MCLINKE... | Shell |
#!/bin/sh
# The MCLinker project
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
LIBTOOLIZE=libtoolize
my_uname=`uname`
if [ ${my_uname} = "Darwin" ]; then
LIBTOOLIZE=glibtoolize
fi
root=`dirname $0`
cd $root
aclocal -I ./m4
${LI... | Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.