code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#!/bin/bash
echo "Checking all Ace3 files"
foundGlobals=0
for listing in `find .. -name "*.lua" -print`; do
dir=`echo $listing | awk -F '/' '{print $2}'`
file=`echo $listing | sed 's/^[^/]*\/[^/]*\/\(.*\)$/\1/'`
if [[ $dir != "tests" && $dir != "benchs" ]]; then
res=`luac -p -l "$listing" | grep SETGLOBAL`
if... | Shell |
#!/bin/bash
echo "Checking all Ace3 files"
foundGlobals=0
for listing in `find .. -name "*.lua" -print`; do
dir=`echo $listing | awk -F '/' '{print $2}'`
file=`echo $listing | sed 's/^[^/]*\/[^/]*\/\(.*\)$/\1/'`
if [[ $dir != "tests" && $dir != "benchs" ]]; then
res=`luac -p -l "$listing" | grep SETGLOBAL`
if... | Shell |
echo
echo Running all -?.x test cases:
echo
if [ -z $lua ]; then
lua=lua
fi
for i in *-?.*.lua ChatThrottleLib*.lua; do
echo ----- Running $i:
$lua $i
done
echo
echo -----------------------
echo DONE!
echo
echo '(To point at a specific lua.exe, use "export lua=/path/to/lua" prior to executing runall.sh)'
echo
| Shell |
#!/bin/bash
echo "Checking all Ace3 files"
foundGlobals=0
for listing in `find .. -name "*.lua" -print`; do
dir=`echo $listing | awk -F '/' '{print $2}'`
file=`echo $listing | sed 's/^[^/]*\/[^/]*\/\(.*\)$/\1/'`
if [[ $dir != "tests" && $dir != "benchs" ]]; then
res=`luac -p -l "$listing" | grep SETGLOBAL`
if... | Shell |
#!/bin/bash
echo "Checking all Ace3 files"
foundGlobals=0
for listing in `find .. -name "*.lua" -print`; do
dir=`echo $listing | awk -F '/' '{print $2}'`
file=`echo $listing | sed 's/^[^/]*\/[^/]*\/\(.*\)$/\1/'`
if [[ $dir != "tests" && $dir != "benchs" ]]; then
res=`luac -p -l "$listing" | grep SETGLOBAL`
if... | Shell |
echo
echo Running all -?.x test cases:
echo
if [ -z $lua ]; then
lua=lua
fi
for i in *-?.*.lua ChatThrottleLib*.lua; do
echo ----- Running $i:
$lua $i
done
echo
echo -----------------------
echo DONE!
echo
echo '(To point at a specific lua.exe, use "export lua=/path/to/lua" prior to executing runall.sh)'
echo
| Shell |
#!/bin/bash
echo "Checking all Ace3 files"
foundGlobals=0
for listing in `find .. -name "*.lua" -print`; do
dir=`echo $listing | awk -F '/' '{print $2}'`
file=`echo $listing | sed 's/^[^/]*\/[^/]*\/\(.*\)$/\1/'`
if [[ $dir != "tests" && $dir != "benchs" ]]; then
res=`luac -p -l "$listing" | grep SETGLOBAL`
if... | Shell |
#!/bin/bash
echo "Checking all Ace3 files"
foundGlobals=0
for listing in `find .. -name "*.lua" -print`; do
dir=`echo $listing | awk -F '/' '{print $2}'`
file=`echo $listing | sed 's/^[^/]*\/[^/]*\/\(.*\)$/\1/'`
if [[ $dir != "tests" && $dir != "benchs" ]]; then
res=`luac -p -l "$listing" | grep SETGLOBAL`
if... | Shell |
echo
echo Running all -?.x test cases:
echo
if [ -z $lua ]; then
lua=lua
fi
for i in *-?.*.lua ChatThrottleLib*.lua; do
echo ----- Running $i:
$lua $i
done
echo
echo -----------------------
echo DONE!
echo
echo '(To point at a specific lua.exe, use "export lua=/path/to/lua" prior to executing runall.sh)'
echo
| Shell |
#!/bin/bash
echo "Checking all Ace3 files"
foundGlobals=0
for listing in `find .. -name "*.lua" -print`; do
dir=`echo $listing | awk -F '/' '{print $2}'`
file=`echo $listing | sed 's/^[^/]*\/[^/]*\/\(.*\)$/\1/'`
if [[ $dir != "tests" && $dir != "benchs" ]]; then
res=`luac -p -l "$listing" | grep SETGLOBAL`
if... | Shell |
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
# Copyright (C) 1996, 1997, 1999, 2000, 2002 Free Software Foundation, Inc.
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU ... | Shell |
#!/bin/bash
#./optimized/src/shamansim 0 > DW0.data
./optimized/src/shamansim 50 > DW5.data
./optimized/src/shamansim 100 > DW10.data
./optimized/src/shamansim 150 > DW15.data
./optimized/src/shamansim 200 > DW20.data
./optimized/src/shamansim 250 > DW25.data
./optimized/src/shamansim 300 > DW30.data
./optimized/src/sh... | Shell |
#! /bin/sh
# mkinstalldirs --- make directory hierarchy
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Public domain
errstatus=0
dirmode=""
usage="\
Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..."
# process command line arguments
while test $# -gt 0 ; do
case $1 in
-h | --help... | Shell |
# ltmain.sh - Provide generalized library-building support services.
# NOTE: Changing this file will not affect anything until you rerun configure.
#
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003
# Free Software Foundation, Inc.
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
#
# This program i... | Shell |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
# Copyright 1999, 2000 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either ve... | Shell |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
# Copyright 1999, 2000 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either ve... | Shell |
#! /bin/sh
# Configuration validation subroutine script.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
# Inc.
timestamp='2007-01-18'
# This file is (in principle) common to ALL GNU software.
# The presence of a machine in thi... | Shell |
#!/bin/bash
#./optimized/src/shamansim 0 > DW0.data
./optimized/src/shamansim 50 > DW5.data
./optimized/src/shamansim 100 > DW10.data
./optimized/src/shamansim 150 > DW15.data
./optimized/src/shamansim 200 > DW20.data
./optimized/src/shamansim 250 > DW25.data
./optimized/src/shamansim 300 > DW30.data
./optimized/src/sh... | Shell |
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
# Copyright (C) 1996, 1997, 1999, 2000, 2002 Free Software Foundation, Inc.
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU ... | Shell |
#! /bin/sh
# mkinstalldirs --- make directory hierarchy
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
# Public domain
errstatus=0
dirmode=""
usage="\
Usage: mkinstalldirs [-h] [--help] [-m mode] dir ..."
# process command line arguments
while test $# -gt 0 ; do
case $1 in
-h | --help... | Shell |
#! /bin/sh
# Attempt to guess a canonical system name.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
# Inc.
timestamp='2007-03-06'
# This file is free software; you can redistribute it and/or modify it
# under the terms of th... | Shell |
#!/bin/sh
#
# install - install a program, script, or datafile
# This comes from X11R5 (mit/util/scripts/install.sh).
#
# Copyright 1991 by the Massachusetts Institute of Technology
#
# Permission to use, copy, modify, distribute, and sell this software and its
# documentation for any purpose is hereby granted without ... | Shell |
#!/bin/sh
#
# install - install a program, script, or datafile
# This comes from X11R5 (mit/util/scripts/install.sh).
#
# Copyright 1991 by the Massachusetts Institute of Technology
#
# Permission to use, copy, modify, distribute, and sell this software and its
# documentation for any purpose is hereby granted without ... | Shell |
#!/bin/sh
# START-COMMIT HOOK
#
# The start-commit hook is invoked before a Subversion txn is created
# in the process of doing a commit. Subversion runs this hook
# by invoking a program (script, executable, binary, etc.) named
# 'start-commit' (for which this file is a template)
# with the following ordered... | Shell |
#!/bin/sh
# PRE-COMMIT HOOK
#
# The pre-commit hook is invoked before a Subversion txn is
# committed. Subversion runs this hook by invoking a program
# (script, executable, binary, etc.) named 'pre-commit' (for which
# this file is a template), with the following ordered arguments:
#
# [1] REPOS-PATH (t... | Shell |
#!/bin/sh
# PRE-LOCK HOOK
#
# The pre-lock hook is invoked before an exclusive lock is
# created. Subversion runs this hook by invoking a program
# (script, executable, binary, etc.) named 'pre-lock' (for which
# this file is a template), with the following ordered arguments:
#
# [1] REPOS-PATH (the pat... | Shell |
#!/bin/sh
# POST-COMMIT HOOK
#
# The post-commit hook is invoked after a commit. Subversion runs
# this hook by invoking a program (script, executable, binary, etc.)
# named 'post-commit' (for which this file is a template) with the
# following ordered arguments:
#
# [1] REPOS-PATH (the path to this rep... | Shell |
#!/bin/sh
# PRE-COMMIT HOOK
#
# The pre-commit hook is invoked before a Subversion txn is
# committed. Subversion runs this hook by invoking a program
# (script, executable, binary, etc.) named 'pre-commit' (for which
# this file is a template), with the following ordered arguments:
#
# [1] REPOS-PATH (t... | Shell |
#!/bin/sh
# PRE-REVPROP-CHANGE HOOK
#
# The pre-revprop-change hook is invoked before a revision property
# is added, modified or deleted. Subversion runs this hook by invoking
# a program (script, executable, binary, etc.) named 'pre-revprop-change'
# (for which this file is a template), with the following or... | Shell |
#!/bin/sh
# PRE-LOCK HOOK
#
# The pre-lock hook is invoked before an exclusive lock is
# created. Subversion runs this hook by invoking a program
# (script, executable, binary, etc.) named 'pre-lock' (for which
# this file is a template), with the following ordered arguments:
#
# [1] REPOS-PATH (the pat... | Shell |
#!/bin/sh
# POST-REVPROP-CHANGE HOOK
#
# The post-revprop-change hook is invoked after a revision property
# has been added, modified or deleted. Subversion runs this hook by
# invoking a program (script, executable, binary, etc.) named
# 'post-revprop-change' (for which this file is a template), with the
# f... | Shell |
#!/bin/sh
# POST-LOCK HOOK
#
# The post-lock hook is run after a path is locked. Subversion runs
# this hook by invoking a program (script, executable, binary, etc.)
# named 'post-lock' (for which this file is a template) with the
# following ordered arguments:
#
# [1] REPOS-PATH (the path to this repos... | Shell |
#!/bin/sh
# PRE-UNLOCK HOOK
#
# The pre-unlock hook is invoked before an exclusive lock is
# destroyed. Subversion runs this hook by invoking a program
# (script, executable, binary, etc.) named 'pre-unlock' (for which
# this file is a template), with the following ordered arguments:
#
# [1] REPOS-PATH ... | Shell |
#!/bin/sh
# START-COMMIT HOOK
#
# The start-commit hook is invoked before a Subversion txn is created
# in the process of doing a commit. Subversion runs this hook
# by invoking a program (script, executable, binary, etc.) named
# 'start-commit' (for which this file is a template)
# with the following ordered... | Shell |
#!/bin/sh
# POST-COMMIT HOOK
#
# The post-commit hook is invoked after a commit. Subversion runs
# this hook by invoking a program (script, executable, binary, etc.)
# named 'post-commit' (for which this file is a template) with the
# following ordered arguments:
#
# [1] REPOS-PATH (the path to this rep... | Shell |
#!/bin/sh
# POST-UNLOCK HOOK
#
# The post-unlock hook runs after a path is unlocked. Subversion runs
# this hook by invoking a program (script, executable, binary, etc.)
# named 'post-unlock' (for which this file is a template) with the
# following ordered arguments:
#
# [1] REPOS-PATH (the path to this... | Shell |
#!/bin/sh
# POST-UNLOCK HOOK
#
# The post-unlock hook runs after a path is unlocked. Subversion runs
# this hook by invoking a program (script, executable, binary, etc.)
# named 'post-unlock' (for which this file is a template) with the
# following ordered arguments:
#
# [1] REPOS-PATH (the path to this... | Shell |
#!/bin/sh
# PRE-REVPROP-CHANGE HOOK
#
# The pre-revprop-change hook is invoked before a revision property
# is added, modified or deleted. Subversion runs this hook by invoking
# a program (script, executable, binary, etc.) named 'pre-revprop-change'
# (for which this file is a template), with the following or... | Shell |
#!/bin/sh
# POST-LOCK HOOK
#
# The post-lock hook is run after a path is locked. Subversion runs
# this hook by invoking a program (script, executable, binary, etc.)
# named 'post-lock' (for which this file is a template) with the
# following ordered arguments:
#
# [1] REPOS-PATH (the path to this repos... | Shell |
#!/bin/sh
# POST-REVPROP-CHANGE HOOK
#
# The post-revprop-change hook is invoked after a revision property
# has been added, modified or deleted. Subversion runs this hook by
# invoking a program (script, executable, binary, etc.) named
# 'post-revprop-change' (for which this file is a template), with the
# f... | Shell |
#!/bin/sh
# PRE-UNLOCK HOOK
#
# The pre-unlock hook is invoked before an exclusive lock is
# destroyed. Subversion runs this hook by invoking a program
# (script, executable, binary, etc.) named 'pre-unlock' (for which
# this file is a template), with the following ordered arguments:
#
# [1] REPOS-PATH ... | Shell |
#! /bin/sh
### BEGIN INIT INFO
# Provides: AutoSub
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: AutoSub
# Description: Script to control AutoSub
### END INIT INFO
## START EDIT ##
NAME=AutoSub
INIT_DIR=/etc/init.d
DAEMON=/... | Shell |
#!/bin/sh
DEST=~/wowserver/test
OPTS="--prefix=$DEST"
autoreconf -fi
export LIBS=-ldl; ./configure $OPTS
make clean
make -j2
make install
| Shell |
#!/bin/bash
# see the README in this directory for usage etc.
usage() {
echo '';
echo 'Usage: xmlproc.sh -[option] <filename.xml>';
echo 'Specify a target from:';
echo '-v verify xml file conforms to dtd';
echo '-html output in html format (single file)';
echo '-ps output in postscript ... | Shell |
#!/bin/sh
# sh is buggy on RS/6000 AIX 3.2. Replace above line with #!/bin/ksh
# Bzcmp/diff wrapped for bzip2,
# adapted from zdiff by Philippe Troin <phil@fifi.org> for Debian GNU/Linux.
# Bzcmp and bzdiff are used to invoke the cmp or the diff pro-
# gram on compressed files. All options specified are p... | Shell |
#!/bin/sh
# Bzgrep wrapped for bzip2,
# adapted from zgrep by Philippe Troin <phil@fifi.org> for Debian GNU/Linux.
## zgrep notice:
## zgrep -- a wrapper around a grep program that decompresses files as needed
## Adapted from a version sent by Charles Levert <charles@comm.polymtl.ca>
PATH="/usr/bin:$PATH"; e... | Shell |
#!/bin/sh
# Bzgrep wrapped for bzip2,
# adapted from zgrep by Philippe Troin <phil@fifi.org> for Debian GNU/Linux.
## zgrep notice:
## zgrep -- a wrapper around a grep program that decompresses files as needed
## Adapted from a version sent by Charles Levert <charles@comm.polymtl.ca>
PATH="/usr/bin:$PATH"; e... | Shell |
#!/bin/bash
# see the README in this directory for usage etc.
usage() {
echo '';
echo 'Usage: xmlproc.sh -[option] <filename.xml>';
echo 'Specify a target from:';
echo '-v verify xml file conforms to dtd';
echo '-html output in html format (single file)';
echo '-ps output in postscript ... | Shell |
#!/bin/sh
# sh is buggy on RS/6000 AIX 3.2. Replace above line with #!/bin/ksh
# Bzcmp/diff wrapped for bzip2,
# adapted from zdiff by Philippe Troin <phil@fifi.org> for Debian GNU/Linux.
# Bzcmp and bzdiff are used to invoke the cmp or the diff pro-
# gram on compressed files. All options specified are p... | Shell |
#!/bin/sh
# Bzmore wrapped for bzip2,
# adapted from zmore by Philippe Troin <phil@fifi.org> for Debian GNU/Linux.
PATH="/usr/bin:$PATH"; export PATH
prog=`echo $0 | sed 's|.*/||'`
case "$prog" in
*less) more=less ;;
*) more=more ;;
esac
if test "`echo -n a`" = "-n a"; then
# looks like a S... | Shell |
#!/bin/sh
# Bzmore wrapped for bzip2,
# adapted from zmore by Philippe Troin <phil@fifi.org> for Debian GNU/Linux.
PATH="/usr/bin:$PATH"; export PATH
prog=`echo $0 | sed 's|.*/||'`
case "$prog" in
*less) more=less ;;
*) more=more ;;
esac
if test "`echo -n a`" = "-n a"; then
# looks like a S... | Shell |
#!/bin/sh
# configure script for zlib. This script is needed only if
# you wish to build a shared library and your system supports them,
# of if you need special compiler, flags or install directory.
# Otherwise, you can just use directly "make test; make install"
#
# To create a shared library, use "configure --... | Shell |
#!/bin/sh
# Created by devnull
echo "ArcScripts installer for ArcEmu"
# Convert all MS-DOS formated filesto unix format
find ./src/scripts/ -not -iname "*.svn*" -type f | sed 's/^/\"/g;s/$/\"/g' | xargs -0 | xargs dos2unix
line=`grep -n "src/arcemu-realmserver/Makefile" ../../configure.ac | cut -d: -f1`
e... | Shell |
#!/bin/sh
# Created by devnull
echo "ArcScripts installer for ArcEmu"
# Convert all MS-DOS formated filesto unix format
find ./src/scripts/ -not -iname "*.svn*" -type f | sed 's/^/\"/g;s/$/\"/g' | xargs -0 | xargs dos2unix
line=`grep -n "src/arcemu-realmserver/Makefile" ../../configure.ac | cut -d: -f1`
e... | Shell |
#! /bin/sh
#
# Converting text files from CR/LF to LF format.
echo "Converting files to Unix format..."
find . -type f "(" \
-name "*.c" -o -name "*.cpp" -o -name "*.h" -o -name "*.s" -o \
-name "*.asm" -o -name "*.inc" -o -name "*.vc" -o -name "*.ls" -o \
-name "*.acs" -o -name "*.cfg" -o -name ... | Shell |
#!/bin/sh
DEST=~/wowserver/test
OPTS="--prefix=$DEST"
autoreconf -fi
export LIBS=-ldl; ./configure $OPTS
make clean
make -j2
make install
| Shell |
#! /bin/sh
#
# Converting text files from CR/LF to LF format.
echo "Converting files to Unix format..."
find . -type f "(" \
-name "*.c" -o -name "*.cpp" -o -name "*.h" -o -name "*.s" -o \
-name "*.asm" -o -name "*.inc" -o -name "*.vc" -o -name "*.ls" -o \
-name "*.acs" -o -name "*.cfg" -o -name ... | Shell |
# Common bash functions
# Assert that the last command terminated with OK status
function check_last_cmd() {
status=$?
if [ "$status" -ne "0" ]; then
echo "$1 failed (status: $status)"
echo "ABORTED"
exit 1
fi
echo "$1 was ok"
}
| Shell |
#!/bin/bash
#
# A script to fetch the updated translations from crowdin.net.
# Tested on Max osx.
#
# TODO: convert file formats from DOS to unix
# TODO: force a sourcein package creation before downloading.
source ./bash_lib.sh
# NOTE(tal): waiting with 'sq' until recieving a confirmation that it works
# on an actu... | Shell |
#!/bin/bash
#
# A script to fetch the crowdin translation memory.
# Tested on Max osx.
source ./bash_lib.sh
local_tmx_file="../archive/translations.tmx"
function main() {
echo "Downloading tmx file -> ${local_tmx_file}"
curl -o ${local_tmx_file} http://api.crowdin.net/api/project/maniana/download-tm?key=$CIKEY
... | Shell |
#!/bin/bash
#
# A script to patch the Android SDK library that contains ViewPager.java
# Run each time upgrading to a newer version of the SDK.
#
# As of Aug 2012, the stock ViewPager class does not allow to control the
# animation speed and results in a too fast stratup animation (the goal is
# that the user will have... | Shell |
#!/bin/sh
# configure script for zlib. This script is needed only if
# you wish to build a shared library and your system supports them,
# of if you need special compiler, flags or install directory.
# Otherwise, you can just use directly "make test; make install"
#
# To create a shared library, use "configure --... | Shell |
#!/bin/sh
# Bzgrep wrapped for bzip2,
# adapted from zgrep by Philippe Troin <phil@fifi.org> for Debian GNU/Linux.
## zgrep notice:
## zgrep -- a wrapper around a grep program that decompresses files as needed
## Adapted from a version sent by Charles Levert <charles@comm.polymtl.ca>
PATH="/usr/bin:$PATH"; e... | Shell |
#!/bin/sh
# Bzmore wrapped for bzip2,
# adapted from zmore by Philippe Troin <phil@fifi.org> for Debian GNU/Linux.
PATH="/usr/bin:$PATH"; export PATH
prog=`echo $0 | sed 's|.*/||'`
case "$prog" in
*less) more=less ;;
*) more=more ;;
esac
if test "`echo -n a`" = "-n a"; then
# looks like a S... | Shell |
#!/bin/sh
# sh is buggy on RS/6000 AIX 3.2. Replace above line with #!/bin/ksh
# Bzcmp/diff wrapped for bzip2,
# adapted from zdiff by Philippe Troin <phil@fifi.org> for Debian GNU/Linux.
# Bzcmp and bzdiff are used to invoke the cmp or the diff pro-
# gram on compressed files. All options specified are p... | Shell |
#!/bin/bash
# see the README in this directory for usage etc.
usage() {
echo '';
echo 'Usage: xmlproc.sh -[option] <filename.xml>';
echo 'Specify a target from:';
echo '-v verify xml file conforms to dtd';
echo '-html output in html format (single file)';
echo '-ps output in postscript ... | Shell |
#!/bin/sh
# Bzgrep wrapped for bzip2,
# adapted from zgrep by Philippe Troin <phil@fifi.org> for Debian GNU/Linux.
## zgrep notice:
## zgrep -- a wrapper around a grep program that decompresses files as needed
## Adapted from a version sent by Charles Levert <charles@comm.polymtl.ca>
PATH="/usr/bin:$PATH"; e... | Shell |
#!/bin/sh
# sh is buggy on RS/6000 AIX 3.2. Replace above line with #!/bin/ksh
# Bzcmp/diff wrapped for bzip2,
# adapted from zdiff by Philippe Troin <phil@fifi.org> for Debian GNU/Linux.
# Bzcmp and bzdiff are used to invoke the cmp or the diff pro-
# gram on compressed files. All options specified are p... | Shell |
#!/bin/bash
# see the README in this directory for usage etc.
usage() {
echo '';
echo 'Usage: xmlproc.sh -[option] <filename.xml>';
echo 'Specify a target from:';
echo '-v verify xml file conforms to dtd';
echo '-html output in html format (single file)';
echo '-ps output in postscript ... | Shell |
#!/bin/sh
# Bzmore wrapped for bzip2,
# adapted from zmore by Philippe Troin <phil@fifi.org> for Debian GNU/Linux.
PATH="/usr/bin:$PATH"; export PATH
prog=`echo $0 | sed 's|.*/||'`
case "$prog" in
*less) more=less ;;
*) more=more ;;
esac
if test "`echo -n a`" = "-n a"; then
# looks like a S... | Shell |
#! /bin/sh
#
# Converting text files from CR/LF to LF format.
echo "Converting files to Unix format..."
find . -type f "(" \
-name "*.c" -o -name "*.cpp" -o -name "*.h" -o -name "*.s" -o \
-name "*.asm" -o -name "*.inc" -o -name "*.vc" -o -name "*.ls" -o \
-name "*.acs" -o -name "*.cfg" -o -name ... | Shell |
#!/bin/sh
DEST=~/wowserver/test
OPTS="--prefix=$DEST"
autoreconf -fi
export LIBS=-ldl; ./configure $OPTS
make clean
make -j2
make install
| Shell |
#! /bin/sh
#
# Converting text files from CR/LF to LF format.
echo "Converting files to Unix format..."
find . -type f "(" \
-name "*.c" -o -name "*.cpp" -o -name "*.h" -o -name "*.s" -o \
-name "*.asm" -o -name "*.inc" -o -name "*.vc" -o -name "*.ls" -o \
-name "*.acs" -o -name "*.cfg" -o -name ... | Shell |
#!/bin/sh
DEST=~/wowserver/test
OPTS="--prefix=$DEST"
autoreconf -fi
export LIBS=-ldl; ./configure $OPTS
make clean
make -j2
make install
| Shell |
# Be sure to specify files instead of * when running the script.
perl -p -i -e "s/ +$//g" *
| Shell |
# Be sure to specify files instead of * when running the script.
perl -p -i -e "s/\t/ /g" *
| Shell |
#!/bin/sh
# Bzgrep wrapped for bzip2,
# adapted from zgrep by Philippe Troin <phil@fifi.org> for Debian GNU/Linux.
## zgrep notice:
## zgrep -- a wrapper around a grep program that decompresses files as needed
## Adapted from a version sent by Charles Levert <charles@comm.polymtl.ca>
PATH="/usr/bin:$PATH"; export PA... | Shell |
#!/bin/sh
# Bzmore wrapped for bzip2,
# adapted from zmore by Philippe Troin <phil@fifi.org> for Debian GNU/Linux.
PATH="/usr/bin:$PATH"; export PATH
prog=`echo $0 | sed 's|.*/||'`
case "$prog" in
*less) more=less ;;
*) more=more ;;
esac
if test "`echo -n a`" = "-n a"; then
# looks like a SysV system:
... | Shell |
#!/bin/sh
# sh is buggy on RS/6000 AIX 3.2. Replace above line with #!/bin/ksh
# Bzcmp/diff wrapped for bzip2,
# adapted from zdiff by Philippe Troin <phil@fifi.org> for Debian GNU/Linux.
# Bzcmp and bzdiff are used to invoke the cmp or the diff pro-
# gram on compressed files. All options specified are passed
#... | Shell |
#!/bin/bash
# see the README in this directory for usage etc.
usage() {
echo '';
echo 'Usage: xmlproc.sh -[option] <filename.xml>';
echo 'Specify a target from:';
echo '-v verify xml file conforms to dtd';
echo '-html output in html format (single file)';
echo '-ps output in postscript format';
... | Shell |
#!/bin/sh
# Bzgrep wrapped for bzip2,
# adapted from zgrep by Philippe Troin <phil@fifi.org> for Debian GNU/Linux.
## zgrep notice:
## zgrep -- a wrapper around a grep program that decompresses files as needed
## Adapted from a version sent by Charles Levert <charles@comm.polymtl.ca>
PATH="/usr/bin:$PATH"; export PA... | Shell |
#!/bin/sh
# sh is buggy on RS/6000 AIX 3.2. Replace above line with #!/bin/ksh
# Bzcmp/diff wrapped for bzip2,
# adapted from zdiff by Philippe Troin <phil@fifi.org> for Debian GNU/Linux.
# Bzcmp and bzdiff are used to invoke the cmp or the diff pro-
# gram on compressed files. All options specified are passed
#... | Shell |
#!/bin/bash
# see the README in this directory for usage etc.
usage() {
echo '';
echo 'Usage: xmlproc.sh -[option] <filename.xml>';
echo 'Specify a target from:';
echo '-v verify xml file conforms to dtd';
echo '-html output in html format (single file)';
echo '-ps output in postscript format';
... | Shell |
#!/bin/sh
# Bzmore wrapped for bzip2,
# adapted from zmore by Philippe Troin <phil@fifi.org> for Debian GNU/Linux.
PATH="/usr/bin:$PATH"; export PATH
prog=`echo $0 | sed 's|.*/||'`
case "$prog" in
*less) more=less ;;
*) more=more ;;
esac
if test "`echo -n a`" = "-n a"; then
# looks like a SysV system:
... | Shell |
ant clean; ant release; adb install -r bin/MetaTracker-release.apk
| Shell |
#!/bin/sh
rm -f log.db
cat log.schema | sqlite3 log.db
| Shell |
#!/bin/sh
rm -f log.db
cat log.schema | sqlite3 log.db
| Shell |
#!/bin/sh
#### Author: Abbi @ Earthen Ring (US)
#### strand.osric@gmail.com
#### Version: 1.0.4
# 1.0 Initial public release
# 1.0.1 Added a couple of uncommon lines
# 1.0.2 And another
# 1.0.4 Debugging; initial checkin to SVN
ACTOR=$1
sed "
s/Your \(.*\) drains \(.*\) \(.*\) from \(.*\). You gain \(.*\) \... | Shell |
#!/bin/sh
#### Author: Abbi @ Earthen Ring (US)
#### strand.osric@gmail.com
#### Version: 1.0.4
# 1.0 Initial public release
# 1.0.1 Added a couple of uncommon lines
# 1.0.2 And another
# 1.0.4 Debugging; initial checkin to SVN
ACTOR=$1
sed "
s/Your \(.*\) drains \(.*\) \(.*\) from \(.*\). You gain \(.*\) \... | Shell |
#!/bin/sh
# POST-REVPROP-CHANGE HOOK
#
# The post-revprop-change hook is invoked after a revision property
# has been added, modified or deleted. Subversion runs this hook by
# invoking a program (script, executable, binary, etc.) named
# 'post-revprop-change' (for which this file is a template), with the
# f... | Shell |
#!/bin/sh
# POST-COMMIT HOOK
#
# The post-commit hook is invoked after a commit. Subversion runs
# this hook by invoking a program (script, executable, binary, etc.)
# named 'post-commit' (for which this file is a template) with the
# following ordered arguments:
#
# [1] REPOS-PATH (the path to this rep... | Shell |
#!/bin/sh
# POST-UNLOCK HOOK
#
# The post-unlock hook runs after a path is unlocked. Subversion runs
# this hook by invoking a program (script, executable, binary, etc.)
# named 'post-unlock' (for which this file is a template) with the
# following ordered arguments:
#
# [1] REPOS-PATH (the path to this... | Shell |
#!/bin/sh
# PRE-UNLOCK HOOK
#
# The pre-unlock hook is invoked before an exclusive lock is
# destroyed. Subversion runs this hook by invoking a program
# (script, executable, binary, etc.) named 'pre-unlock' (for which
# this file is a template), with the following ordered arguments:
#
# [1] REPOS-PATH ... | Shell |
#!/bin/sh
# PRE-REVPROP-CHANGE HOOK
#
# The pre-revprop-change hook is invoked before a revision property
# is added, modified or deleted. Subversion runs this hook by invoking
# a program (script, executable, binary, etc.) named 'pre-revprop-change'
# (for which this file is a template), with the following or... | Shell |
#!/bin/sh
# START-COMMIT HOOK
#
# The start-commit hook is invoked before a Subversion txn is created
# in the process of doing a commit. Subversion runs this hook
# by invoking a program (script, executable, binary, etc.) named
# 'start-commit' (for which this file is a template)
# with the following ordered... | Shell |
#!/bin/sh
# PRE-LOCK HOOK
#
# The pre-lock hook is invoked before an exclusive lock is
# created. Subversion runs this hook by invoking a program
# (script, executable, binary, etc.) named 'pre-lock' (for which
# this file is a template), with the following ordered arguments:
#
# [1] REPOS-PATH (the pat... | Shell |
#!/bin/sh
# PRE-COMMIT HOOK
#
# The pre-commit hook is invoked before a Subversion txn is
# committed. Subversion runs this hook by invoking a program
# (script, executable, binary, etc.) named 'pre-commit' (for which
# this file is a template), with the following ordered arguments:
#
# [1] REPOS-PATH (t... | Shell |
#!/bin/sh
# POST-LOCK HOOK
#
# The post-lock hook is run after a path is locked. Subversion runs
# this hook by invoking a program (script, executable, binary, etc.)
# named 'post-lock' (for which this file is a template) with the
# following ordered arguments:
#
# [1] REPOS-PATH (the path to this repos... | Shell |
#!/bin/sh
# POST-COMMIT HOOK
#
# The post-commit hook is invoked after a commit. Subversion runs
# this hook by invoking a program (script, executable, binary, etc.)
# named 'post-commit' (for which this file is a template) with the
# following ordered arguments:
#
# [1] REPOS-PATH (the path to this rep... | Shell |
#!/bin/sh
# PRE-REVPROP-CHANGE HOOK
#
# The pre-revprop-change hook is invoked before a revision property
# is added, modified or deleted. Subversion runs this hook by invoking
# a program (script, executable, binary, etc.) named 'pre-revprop-change'
# (for which this file is a template), with the following or... | Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.