code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#!/bin/sh
# $Id: fileutil.sh,v 1.2 2006/08/10 08:45:05 nobu Exp $
# file operation utility to use via sudo.
PATH=/sbin:/usr/sbin:/bin:/usr/bin
group=apache
owner=apache
umask 027
case $# in
0)
echo "exec on `whoami`"
echo "usage: sudo -u user $0 [option] ope args .."
exit
esac
root=`dirname $0`
case "$root" i... | Shell |
#!/bin/sh
# $Id: fileutil.sh,v 1.2 2006/08/10 08:45:05 nobu Exp $
# file operation utility to use via sudo.
PATH=/sbin:/usr/sbin:/bin:/usr/bin
group=apache
owner=apache
umask 027
case $# in
0)
echo "exec on `whoami`"
echo "usage: sudo -u user $0 [option] ope args .."
exit
esac
root=`dirname $0`
case "$root" i... | Shell |
#!/bin/sh
ENABLE=$1
echo ""
echo " DataTables unit tests"
echo ""
if [ ! "$ENABLE" = "Enable" -a ! "$ENABLE" = "Disable" -o "ENABLE" = "-h" ]; then
echo " Enable or Disable must be given as the first argument."
echo " Optionally the second argument can be given as an integer to enable/disable a certain "
echo ... | Shell |
#!/bin/sh
cd ../media/src
# DEFAULTS
CLOSURE="/usr/local/closure_compiler/compiler.jar"
JSDOC="/usr/local/jsdoc/jsdoc"
CMD=$1
MAIN_FILE="../js/jquery.dataTables.js"
MIN_FILE="../js/jquery.dataTables.min.js"
VERSION=$(grep " * @version " DataTables.js | awk -F" " '{ print $3 }')
echo ""
echo " DataTables build ... | Shell |
#!/bin/sh
ENABLE=$1
echo ""
echo " DataTables unit tests"
echo ""
if [ ! "$ENABLE" = "Enable" -a ! "$ENABLE" = "Disable" -o "ENABLE" = "-h" ]; then
echo " Enable or Disable must be given as the first argument."
echo " Optionally the second argument can be given as an integer to enable/disable a certain "
echo ... | Shell |
#!/bin/sh
cd ../media/src
# DEFAULTS
CLOSURE="/usr/local/closure_compiler/compiler.jar"
JSDOC="/usr/local/jsdoc/jsdoc"
CMD=$1
MAIN_FILE="../js/jquery.dataTables.js"
MIN_FILE="../js/jquery.dataTables.min.js"
VERSION=$(grep " * @version " DataTables.js | awk -F" " '{ print $3 }')
echo ""
echo " DataTables build ... | Shell |
#!/bin/bash
#
#******************************************************************************
# xpc_boot_functions (XPC)
#------------------------------------------------------------------------------
##
# \file xpc_boot_functions
# \library XPC
# \author Chris Ahlstrom
# \date 2011-03-30
# \upda... | Shell |
#!/bin/bash
#
#******************************************************************************
# boot_makegnus (XPC)
#------------------------------------------------------------------------------
##
# \file boot_makegnus
# \library XPC
# \author Chris Ahlstrom
# \date 2008-03-02
# \update 20... | Shell |
#!/bin/bash
#
#******************************************************************************
# version-fix (XPC)
#------------------------------------------------------------------------------
##
# \file build
# \library XPC
# \author Chris Ahlstrom
# \date 2012-01-02
# \update 2012-04-02
#... | Shell |
#!/bin/bash
#
#******************************************************************************
# xpc-bootstrap-po (XPC)
#------------------------------------------------------------------------------
##
# \file xpc-bootstrap-po
# \library XPC Basic
# \author Chris Ahlstrom
# \date 2011-12-31
# \up... | Shell |
#!/bin/bash
#
#******************************************************************************
# ld_config.sh (xpccut)
#------------------------------------------------------------------------------
##
# \file ld_config.sh
# \library libxpccut
# \author Chris Ahlstrom
# \date 2009-04-11
# \updates... | Shell |
#!/bin/bash
#
#******************************************************************************
# git_setup (XPC)
#------------------------------------------------------------------------------
##
# \file git_setup
# \library XPC
# \author Chris Ahlstrom
# \date 2012-03-04
# \update 2013-07-27... | Shell |
#!/bin/bash
#
#******************************************************************************
# build (XPC)
#------------------------------------------------------------------------------
##
# \file build
# \library XPC
# \author Chris Ahlstrom
# \date 2011-12-27
# \update 2013-07-28
# \vers... | Shell |
#!/bin/bash
#
#******************************************************************************
# xpccut-install (xpccut++ subproject)
#------------------------------------------------------------------------------
##
# \file xpccut-install
# \library libxpccut++ (for installing libxpccut)
# \author Chris... | Shell |
#!/bin/bash
#
#*****************************************************************************
# test_script (xpccut/tests)
#-----------------------------------------------------------------------------
##
# \file test_script
# \library xpc_suite\xpccut
# \author Chris Ahlstrom
# \date 04/02/2008-0... | Shell |
#******************************************************************************
# xpc_suite-1.1/xpccut/tests/README
#------------------------------------------------------------------------------
##
# \file README
# \author Chris Ahlstrom
# \date 2008-03-02
# \update 2013-07-19
#
#--------------... | Shell |
#!/bin/bash
#
#*****************************************************************************
# test (xpccut/tests)
#-----------------------------------------------------------------------------
##
# \file test
# \library xpc_suite\xpccut
# \author Chris Ahlstrom
# \date 04/02/2008-05/31/2009
# \v... | Shell |
#******************************************************************************
# xpc_suite-1.1/xpccut/README
#------------------------------------------------------------------------------
##
# \file README
# \author Chris Ahlstrom
# \date 2011-12-26
# \update 2012-01-02
#
#--------------------... | Shell |
#!/bin/sh
#
#******************************************************************************
# make-tests
#------------------------------------------------------------------------------
##
# \file make-tests
# \library xpc
# \author Chris Ahlstrom
# \date 03/02/2008-03/02/2008
# \version $Revi... | Shell |
#!/bin/bash
#
#*****************************************************************************
# test_script (xpc/tests)
#-----------------------------------------------------------------------------
##
# \file test_script
# \library xpc
# \author Chris Ahlstrom
# \date 2008-04-02
# \updates 20... | Shell |
#!/bin/bash
#
#*****************************************************************************
# test (xpc/tests)
#-----------------------------------------------------------------------------
##
# \file test
# \library xpc
# \author Chris Ahlstrom
# \date 2012-06-20
# \updates 2012-06-20
# \ve... | Shell |
#******************************************************************************
# xpc_suite-1.1/m4/README
#------------------------------------------------------------------------------
##
# \file README
# \author Chris Ahlstrom
# \date 2011-12-28
# \update 2012-01-02
#
#------------------------... | Shell |
#!/bin/bash
#
#******************************************************************************
# bootstrap (XPC)
#------------------------------------------------------------------------------
##
# \file bootstrap
# \library XPC
# \author Chris Ahlstrom
# \date 2008-03-02
# \update 2012-03-04... | Shell |
#!/bin/bash
#
#******************************************************************************
# bfunctions (XPC)
#------------------------------------------------------------------------------
##
# \file bfunctions
# \library XPC
# \author Chris Ahlstrom
# \date 2011-12-27
# \update 2012-03-... | Shell |
#!/bin/bash
#
#******************************************************************************
# bootstrap-po (XPC)
#------------------------------------------------------------------------------
##
# \file bootstrap-po
# \library XPC
# \author Chris Ahlstrom
# \date 2011-12-31
# \update 2012... | Shell |
#!/bin/bash
#
#*****************************************************************************
# test_script (xpchello/tests)
#-----------------------------------------------------------------------------
##
# \file test_script
# \library xpc_suite/xpchello test script
# \author Chris Ahlstrom
# \date ... | Shell |
#******************************************************************************
# xpc_suite-1.1/xpchello/tests/README
#------------------------------------------------------------------------------
##
# \file README
# \author Chris Ahlstrom
# \date 2008-04-08
# \update 2012-01-02
#
#------------... | Shell |
#!/bin/bash
#
#*****************************************************************************
# test (xpccut/tests)
#-----------------------------------------------------------------------------
##
# \file test
# \library xpc_suite\xpccut
# \author Chris Ahlstrom
# \date 04/02/2008-05/31/2009
# \v... | Shell |
#!/bin/bash
#########################################################################
# Name: cisco_tftp_backup
# Author: Steve Cowles <scowles@infohiiway.com>
#
# Revision: Created 10/1/2005 SWC
# Revision: 03/26/06 - SWC
# Added capability to save config data by date.
#
# Description: Shell Script to backu... | Shell |
# Carefully insert this code into your .bashrc file to enable showing git
# information in your bash prompt.
#
# First see if the git SCM system is installed.
git --version 2> /dev/null > /dev/null
if [ $? != 0 ] ; then
# Set PS1 without git information
else
# Bold cyan if over SSH, bold green otherwise
... | Shell |
#!bash
#
# bash completion support for core Git.
#
# Copyright (C) 2006,2007 Shawn O. Pearce <spearce@spearce.org>
# Conceptually based on gitcompletion (http://gitweb.hawaga.org.uk/).
# Distributed under the GNU General Public License, version 2.0.
#
# The contained completion routines provide support for completing:
... | Shell |
#*****************************************************************************
# xpc_suite/contrib/rc/bash.rc
#-----------------------------------------------------------------------------
#
# \file bash.rc
# \author Chris Ahlstrom
# \date 02/26/2008-05/21/2008
# \version $Revision$
# \license ... | Shell |
#*****************************************************************************
# cgdb.rc
#-----------------------------------------------------------------------------
##
# \file cgdb.rc
# \library xpc_suite
# \author Chris Ahlstrom
# \date 06/25/2008-06/25/2008
# \version $Revision$
# \licen... | Shell |
###########################
# xbindkeys configuration #
###########################
#
# Version: 0.1.3
#
# Note: This setup requires the installation of xbindkeys, alsa-utils,
# mrxvt, iceweasel, and some other odds and ends
#
# If you edit this, do not forget to uncomment any lines that you change.
# The pound... | Shell |
###########################
# xbindkeys configuration #
###########################
#
# Microsoft Arc Keyboard
#
# Version: 0.1.3
#
# Note: This setup requires the installation of xbindkeys, alsa-utils,
# mrxvt, mpc, iceweasel, and some other odds and ends
#
# A list of keys is in /usr/include/X11/keysym.h and ... | Shell |
###########################
# xbindkeys configuration #
###########################
#
# Version: 0.1.3
#
# Note: This setup requires the installation of xbindkeys, alsa-utils,
# mrxvt, iceweasel, and some other odds and ends
#
# If you edit this, do not forget to uncomment any lines that you change.
# The pound... | Shell |
#*****************************************************************************
# xpc_suite-1.1/contrib/rc/README
#------------------------------------------------------------------------------
##
# \file README
# \author Chris Ahlstrom
# \date 2008-08-07
# \update 2012-01-02
#
#-----------------... | Shell |
# ******************************************************************************
# xpc_suite-1.1/contrib/README
#------------------------------------------------------------------------------
##
# \file README
# \author Chris Ahlstrom
# \date 2008-05-11
# \update 2012-01-02
#
#------------------... | Shell |
# ******************************************************************************
# xpc_suite-1.1/contrib/README
#------------------------------------------------------------------------------
##
# \file README
# \author Chris Ahlstrom
# \date 2008-02-26
# \update 2013-07-19
#
# Provides addi... | Shell |
#!/bin/bash
#
#*****************************************************************************
# test_script (xpc++/tests)
#-----------------------------------------------------------------------------
##
# \file test
# \library libxpc++
# \author Chris Ahlstrom
# \date 2010-05-30 to 2010-05-30
# \... | Shell |
#!/bin/bash
#
#******************************************************************************
# make_dox (XPC)
#------------------------------------------------------------------------------
##
# \file make_dox
# \library XPC
# \author Chris Ahlstrom
# \date 2011-12-28
# \update 2012-01-01
#... | Shell |
#*****************************************************************************
# xpc_suite-1.1/doc/README
#-----------------------------------------------------------------------------
##
# \file README
# \author Chris Ahlstrom
# \date 2008-05-12
# \update 2012-01-02
#
#-------------------------... | Shell |
#!/bin/bash
#
#******************************************************************************
# bootstrap (XPC)
#------------------------------------------------------------------------------
##
# \file bootstrap
# \library XPC
# \author Chris Ahlstrom
# \date 2008-03-02
# \update 2014-06-28... | Shell |
#!/bin/bash
#
#*****************************************************************************
# test_script (cut++/tests)
#-----------------------------------------------------------------------------
##
# \file test
# \library libxpccut++
# \author Chris Ahlstrom
# \date 04/02/2008-05/30/2009
# \... | Shell |
#******************************************************************************
# xpc_suite-1.1/pkgconfig/README
#------------------------------------------------------------------------------
##
# \file README
# \author Chris Ahlstrom
# \date 2008-03-04
# \update 2013-07-23
#
#-----------------... | Shell |
#******************************************************************************
# xpc_suite-1.1/include/README
#------------------------------------------------------------------------------
##
# \file README
# \author Chris Ahlstrom
# \date 2013-07-25
# \update 2014-06-29
#
# Why does this ... | Shell |
#******************************************************************************
# xpc_suite-1.1/po/README
#------------------------------------------------------------------------------
##
# \file README
# \author Chris Ahlstrom
# \date 2008-05-08
# \update 2012-01-02
#
#------------------------... | Shell |
#******************************************************************************
# xpc-1.1/README
#------------------------------------------------------------------------------
##
# \file README
# \author Chris Ahlstrom
# \date 2011-12-26
# \update 2013-07-28
#
# Covers the basics of getting... | Shell |
#!/bin/bash
#
#******************************************************************************
# pack (XPC Basic)
#------------------------------------------------------------------------------
##
# \file pack
# \library XPC Basic
# \author Chris Ahlstrom
# \date 2012-05-28
# \update 2014-06-... | Shell |
#!/bin/sh
if [ "$CC" = "" ]
then
echo "Provide CC"
exit 1
fi
tmpsrc="/tmp/cfggcc.$$.c"
tmpout="/tmp/cfggcc.$$"
tmpopt="/tmp/cfggcc.$$.opt"
trap on_signal 1 2 3 6
on_signal ()
{
rm -f "$tmpsrc" "$tmpout" "$tmpopt"
exit 1
}
test_option ()
{
echo > "$tmpopt"
count=0
while [ $# -gt 0 ]
do
"$CC" "$1" -o "$tm... | Shell |
#!/bin/sh
if [ "$CC" = "" ]
then
echo "Provide CC"
exit 1
fi
tmpsrc="/tmp/cfggcc.$$.c"
tmpout="/tmp/cfggcc.$$"
tmpopt="/tmp/cfggcc.$$.opt"
trap on_signal 1 2 3 6
on_signal ()
{
rm -f "$tmpsrc" "$tmpout" "$tmpopt"
exit 1
}
test_option ()
{
echo > "$tmpopt"
count=0
while [ $# -gt 0 ]
do
"$CC" "$1" -o "$tm... | Shell |
#!/bin/sh
PWD=`pwd`
XP_DIR=`dirname $PWD`
tmpout="/tmp/cfgmake.$$"
test_cc ()
{
ext="$1"
name="$2"
echo "#include <stdio.h>" > "$tmpout.$ext"
echo "main () { printf (\"%s\", \"$name\"); }" >> "$tmpout.$ext"
("$name" -o "$tmpout" "$tmpout.$ext") >/dev/null 2>&1 || {
rm -f "$tmpout.$ext"
return 1
}
rm -... | Shell |
#!/bin/sh
PWD=`pwd`
XP_DIR=`dirname $PWD`
tmpout="/tmp/cfgmake.$$"
test_cc ()
{
ext="$1"
name="$2"
echo "#include <stdio.h>" > "$tmpout.$ext"
echo "main () { printf (\"%s\", \"$name\"); }" >> "$tmpout.$ext"
("$name" -o "$tmpout" "$tmpout.$ext") >/dev/null 2>&1 || {
rm -f "$tmpout.$ext"
return 1
}
rm -... | Shell |
#!/bin/sh
if [ "$CC" = "" ]
then
echo "Provide CC"
exit 1
fi
tmpsrc="/tmp/cfggcc.$$.c"
tmpout="/tmp/cfggcc.$$"
tmpopt="/tmp/cfggcc.$$.opt"
trap on_signal 1 2 3 6
on_signal ()
{
rm -f "$tmpsrc" "$tmpout" "$tmpopt"
exit 1
}
test_option ()
{
echo > "$tmpopt"
count=0
while [ $# -gt 0 ]
do
"$CC" "$1" -o "$tm... | Shell |
#!/bin/sh
if [ "$CC" = "" ]
then
echo "Provide CC"
exit 1
fi
tmpsrc="/tmp/cfggcc.$$.c"
tmpout="/tmp/cfggcc.$$"
tmpopt="/tmp/cfggcc.$$.opt"
trap on_signal 1 2 3 6
on_signal ()
{
rm -f "$tmpsrc" "$tmpout" "$tmpopt"
exit 1
}
test_option ()
{
echo > "$tmpopt"
count=0
while [ $# -gt 0 ]
do
"$CC" "$1" -o "$tm... | Shell |
#!/bin/sh
PWD=`pwd`
XP_DIR=`dirname $PWD`
tmpout="/tmp/cfgmake.$$"
test_cc ()
{
ext="$1"
name="$2"
echo "#include <stdio.h>" > "$tmpout.$ext"
echo "main () { printf (\"%s\", \"$name\"); }" >> "$tmpout.$ext"
("$name" -o "$tmpout" "$tmpout.$ext") >/dev/null 2>&1 || {
rm -f "$tmpout.$ext"
return 1
}
rm -... | Shell |
#!/bin/sh
PWD=`pwd`
XP_DIR=`dirname $PWD`
tmpout="/tmp/cfgmake.$$"
test_cc ()
{
ext="$1"
name="$2"
echo "#include <stdio.h>" > "$tmpout.$ext"
echo "main () { printf (\"%s\", \"$name\"); }" >> "$tmpout.$ext"
("$name" -o "$tmpout" "$tmpout.$ext") >/dev/null 2>&1 || {
rm -f "$tmpout.$ext"
return 1
}
rm -... | Shell |
#!/bin/sh
if [ "$CC" = "" ]
then
echo "Provide CC"
exit 1
fi
tmpsrc="/tmp/cfggcc.$$.c"
tmpout="/tmp/cfggcc.$$"
tmpopt="/tmp/cfggcc.$$.opt"
trap on_signal 1 2 3 6
on_signal ()
{
rm -f "$tmpsrc" "$tmpout" "$tmpopt"
exit 1
}
test_option ()
{
echo > "$tmpopt"
count=0
while [ $# -gt 0 ]
do
"$CC" "$1" -o "$tm... | Shell |
#!/bin/sh
if [ "$CC" = "" ]
then
echo "Provide CC"
exit 1
fi
tmpsrc="/tmp/cfggcc.$$.c"
tmpout="/tmp/cfggcc.$$"
tmpopt="/tmp/cfggcc.$$.opt"
trap on_signal 1 2 3 6
on_signal ()
{
rm -f "$tmpsrc" "$tmpout" "$tmpopt"
exit 1
}
test_option ()
{
echo > "$tmpopt"
count=0
while [ $# -gt 0 ]
do
"$CC" "$1" -o "$tm... | Shell |
#!/bin/sh
PWD=`pwd`
XP_DIR=`dirname $PWD`
tmpout="/tmp/cfgmake.$$"
test_cc ()
{
ext="$1"
name="$2"
echo "#include <stdio.h>" > "$tmpout.$ext"
echo "main () { printf (\"%s\", \"$name\"); }" >> "$tmpout.$ext"
("$name" -o "$tmpout" "$tmpout.$ext") >/dev/null 2>&1 || {
rm -f "$tmpout.$ext"
return 1
}
rm -... | Shell |
#!/bin/sh
PWD=`pwd`
XP_DIR=`dirname $PWD`
tmpout="/tmp/cfgmake.$$"
test_cc ()
{
ext="$1"
name="$2"
echo "#include <stdio.h>" > "$tmpout.$ext"
echo "main () { printf (\"%s\", \"$name\"); }" >> "$tmpout.$ext"
("$name" -o "$tmpout" "$tmpout.$ext") >/dev/null 2>&1 || {
rm -f "$tmpout.$ext"
return 1
}
rm -... | Shell |
#!/bin/sh
if [ "$CC" = "" ]
then
echo "Provide CC"
exit 1
fi
tmpsrc="/tmp/cfggcc.$$.c"
tmpout="/tmp/cfggcc.$$"
tmpopt="/tmp/cfggcc.$$.opt"
trap on_signal 1 2 3 6
on_signal ()
{
rm -f "$tmpsrc" "$tmpout" "$tmpopt"
exit 1
}
test_option ()
{
echo > "$tmpopt"
count=0
while [ $# -gt 0 ]
do
"$CC" "$1" -o "$tm... | Shell |
#!/bin/sh
if [ "$CC" = "" ]
then
echo "Provide CC"
exit 1
fi
tmpsrc="/tmp/cfggcc.$$.c"
tmpout="/tmp/cfggcc.$$"
tmpopt="/tmp/cfggcc.$$.opt"
trap on_signal 1 2 3 6
on_signal ()
{
rm -f "$tmpsrc" "$tmpout" "$tmpopt"
exit 1
}
test_option ()
{
echo > "$tmpopt"
count=0
while [ $# -gt 0 ]
do
"$CC" "$1" -o "$tm... | Shell |
#!/bin/sh
PWD=`pwd`
XP_DIR=`dirname $PWD`
tmpout="/tmp/cfgmake.$$"
test_cc ()
{
ext="$1"
name="$2"
echo "#include <stdio.h>" > "$tmpout.$ext"
echo "main () { printf (\"%s\", \"$name\"); }" >> "$tmpout.$ext"
("$name" -o "$tmpout" "$tmpout.$ext") >/dev/null 2>&1 || {
rm -f "$tmpout.$ext"
return 1
}
rm -... | Shell |
#!/bin/sh
PWD=`pwd`
XP_DIR=`dirname $PWD`
tmpout="/tmp/cfgmake.$$"
test_cc ()
{
ext="$1"
name="$2"
echo "#include <stdio.h>" > "$tmpout.$ext"
echo "main () { printf (\"%s\", \"$name\"); }" >> "$tmpout.$ext"
("$name" -o "$tmpout" "$tmpout.$ext") >/dev/null 2>&1 || {
rm -f "$tmpout.$ext"
return 1
}
rm -... | Shell |
#!/bin/sh
if [ "$CC" = "" ]
then
echo "Provide CC"
exit 1
fi
tmpsrc="/tmp/cfggcc.$$.c"
tmpout="/tmp/cfggcc.$$"
tmpopt="/tmp/cfggcc.$$.opt"
trap on_signal 1 2 3 6
on_signal ()
{
rm -f "$tmpsrc" "$tmpout" "$tmpopt"
exit 1
}
test_option ()
{
echo > "$tmpopt"
count=0
while [ $# -gt 0 ]
do
"$CC" "$1" -o "$tm... | Shell |
#!/bin/sh
if [ "$CC" = "" ]
then
echo "Provide CC"
exit 1
fi
tmpsrc="/tmp/cfggcc.$$.c"
tmpout="/tmp/cfggcc.$$"
tmpopt="/tmp/cfggcc.$$.opt"
trap on_signal 1 2 3 6
on_signal ()
{
rm -f "$tmpsrc" "$tmpout" "$tmpopt"
exit 1
}
test_option ()
{
echo > "$tmpopt"
count=0
while [ $# -gt 0 ]
do
"$CC" "$1" -o "$tm... | Shell |
#!/bin/sh
PWD=`pwd`
XP_DIR=`dirname $PWD`
tmpout="/tmp/cfgmake.$$"
test_cc ()
{
ext="$1"
name="$2"
echo "#include <stdio.h>" > "$tmpout.$ext"
echo "main () { printf (\"%s\", \"$name\"); }" >> "$tmpout.$ext"
("$name" -o "$tmpout" "$tmpout.$ext") >/dev/null 2>&1 || {
rm -f "$tmpout.$ext"
return 1
}
rm -... | Shell |
#!/bin/sh
PWD=`pwd`
XP_DIR=`dirname $PWD`
tmpout="/tmp/cfgmake.$$"
test_cc ()
{
ext="$1"
name="$2"
echo "#include <stdio.h>" > "$tmpout.$ext"
echo "main () { printf (\"%s\", \"$name\"); }" >> "$tmpout.$ext"
("$name" -o "$tmpout" "$tmpout.$ext") >/dev/null 2>&1 || {
rm -f "$tmpout.$ext"
return 1
}
rm -... | Shell |
#!/bin/sh
if [ "$CC" = "" ]
then
echo "Provide CC"
exit 1
fi
tmpsrc="/tmp/cfggcc.$$.c"
tmpout="/tmp/cfggcc.$$"
tmpopt="/tmp/cfggcc.$$.opt"
trap on_signal 1 2 3 6
on_signal ()
{
rm -f "$tmpsrc" "$tmpout" "$tmpopt"
exit 1
}
test_option ()
{
echo > "$tmpopt"
count=0
while [ $# -gt 0 ]
do
"$CC" "$1" -o "$tm... | Shell |
#!/bin/sh
if [ "$CC" = "" ]
then
echo "Provide CC"
exit 1
fi
tmpsrc="/tmp/cfggcc.$$.c"
tmpout="/tmp/cfggcc.$$"
tmpopt="/tmp/cfggcc.$$.opt"
trap on_signal 1 2 3 6
on_signal ()
{
rm -f "$tmpsrc" "$tmpout" "$tmpopt"
exit 1
}
test_option ()
{
echo > "$tmpopt"
count=0
while [ $# -gt 0 ]
do
"$CC" "$1" -o "$tm... | Shell |
#!/bin/sh
PWD=`pwd`
XP_DIR=`dirname $PWD`
tmpout="/tmp/cfgmake.$$"
test_cc ()
{
ext="$1"
name="$2"
echo "#include <stdio.h>" > "$tmpout.$ext"
echo "main () { printf (\"%s\", \"$name\"); }" >> "$tmpout.$ext"
("$name" -o "$tmpout" "$tmpout.$ext") >/dev/null 2>&1 || {
rm -f "$tmpout.$ext"
return 1
}
rm -... | Shell |
#!/bin/sh
PWD=`pwd`
XP_DIR=`dirname $PWD`
tmpout="/tmp/cfgmake.$$"
test_cc ()
{
ext="$1"
name="$2"
echo "#include <stdio.h>" > "$tmpout.$ext"
echo "main () { printf (\"%s\", \"$name\"); }" >> "$tmpout.$ext"
("$name" -o "$tmpout" "$tmpout.$ext") >/dev/null 2>&1 || {
rm -f "$tmpout.$ext"
return 1
}
rm -... | Shell |
#!/bin/sh
if [ "$CC" = "" ]
then
echo "Provide CC"
exit 1
fi
tmpsrc="/tmp/cfggcc.$$.c"
tmpout="/tmp/cfggcc.$$"
tmpopt="/tmp/cfggcc.$$.opt"
trap on_signal 1 2 3 6
on_signal ()
{
rm -f "$tmpsrc" "$tmpout" "$tmpopt"
exit 1
}
test_option ()
{
echo > "$tmpopt"
count=0
while [ $# -gt 0 ]
do
"$CC" "$1" -o "$tm... | Shell |
#!/bin/sh
if [ "$CC" = "" ]
then
echo "Provide CC"
exit 1
fi
tmpsrc="/tmp/cfggcc.$$.c"
tmpout="/tmp/cfggcc.$$"
tmpopt="/tmp/cfggcc.$$.opt"
trap on_signal 1 2 3 6
on_signal ()
{
rm -f "$tmpsrc" "$tmpout" "$tmpopt"
exit 1
}
test_option ()
{
echo > "$tmpopt"
count=0
while [ $# -gt 0 ]
do
"$CC" "$1" -o "$tm... | Shell |
#!/bin/sh
PWD=`pwd`
XP_DIR=`dirname $PWD`
tmpout="/tmp/cfgmake.$$"
test_cc ()
{
ext="$1"
name="$2"
echo "#include <stdio.h>" > "$tmpout.$ext"
echo "main () { printf (\"%s\", \"$name\"); }" >> "$tmpout.$ext"
("$name" -o "$tmpout" "$tmpout.$ext") >/dev/null 2>&1 || {
rm -f "$tmpout.$ext"
return 1
}
rm -... | Shell |
#!/bin/sh
PWD=`pwd`
XP_DIR=`dirname $PWD`
tmpout="/tmp/cfgmake.$$"
test_cc ()
{
ext="$1"
name="$2"
echo "#include <stdio.h>" > "$tmpout.$ext"
echo "main () { printf (\"%s\", \"$name\"); }" >> "$tmpout.$ext"
("$name" -o "$tmpout" "$tmpout.$ext") >/dev/null 2>&1 || {
rm -f "$tmpout.$ext"
return 1
}
rm -... | Shell |
#!/bin/sh
if [ "$CC" = "" ]
then
echo "Provide CC"
exit 1
fi
tmpsrc="/tmp/cfggcc.$$.c"
tmpout="/tmp/cfggcc.$$"
tmpopt="/tmp/cfggcc.$$.opt"
trap on_signal 1 2 3 6
on_signal ()
{
rm -f "$tmpsrc" "$tmpout" "$tmpopt"
exit 1
}
test_option ()
{
echo > "$tmpopt"
count=0
while [ $# -gt 0 ]
do
"$CC" "$1" -o "$tm... | Shell |
#!/bin/sh
if [ "$CC" = "" ]
then
echo "Provide CC"
exit 1
fi
tmpsrc="/tmp/cfggcc.$$.c"
tmpout="/tmp/cfggcc.$$"
tmpopt="/tmp/cfggcc.$$.opt"
trap on_signal 1 2 3 6
on_signal ()
{
rm -f "$tmpsrc" "$tmpout" "$tmpopt"
exit 1
}
test_option ()
{
echo > "$tmpopt"
count=0
while [ $# -gt 0 ]
do
"$CC" "$1" -o "$tm... | Shell |
#!/bin/sh
PWD=`pwd`
XP_DIR=`dirname $PWD`
tmpout="/tmp/cfgmake.$$"
test_cc ()
{
ext="$1"
name="$2"
echo "#include <stdio.h>" > "$tmpout.$ext"
echo "main () { printf (\"%s\", \"$name\"); }" >> "$tmpout.$ext"
("$name" -o "$tmpout" "$tmpout.$ext") >/dev/null 2>&1 || {
rm -f "$tmpout.$ext"
return 1
}
rm -... | Shell |
#!/bin/sh
PWD=`pwd`
XP_DIR=`dirname $PWD`
tmpout="/tmp/cfgmake.$$"
test_cc ()
{
ext="$1"
name="$2"
echo "#include <stdio.h>" > "$tmpout.$ext"
echo "main () { printf (\"%s\", \"$name\"); }" >> "$tmpout.$ext"
("$name" -o "$tmpout" "$tmpout.$ext") >/dev/null 2>&1 || {
rm -f "$tmpout.$ext"
return 1
}
rm -... | Shell |
#!/bin/sh
if [ "$CC" = "" ]
then
echo "Provide CC"
exit 1
fi
tmpsrc="/tmp/cfggcc.$$.c"
tmpout="/tmp/cfggcc.$$"
tmpopt="/tmp/cfggcc.$$.opt"
trap on_signal 1 2 3 6
on_signal ()
{
rm -f "$tmpsrc" "$tmpout" "$tmpopt"
exit 1
}
test_option ()
{
echo > "$tmpopt"
count=0
while [ $# -gt 0 ]
do
"$CC" "$1" -o "$tm... | Shell |
#!/bin/sh
if [ "$CC" = "" ]
then
echo "Provide CC"
exit 1
fi
tmpsrc="/tmp/cfggcc.$$.c"
tmpout="/tmp/cfggcc.$$"
tmpopt="/tmp/cfggcc.$$.opt"
trap on_signal 1 2 3 6
on_signal ()
{
rm -f "$tmpsrc" "$tmpout" "$tmpopt"
exit 1
}
test_option ()
{
echo > "$tmpopt"
count=0
while [ $# -gt 0 ]
do
"$CC" "$1" -o "$tm... | Shell |
#!/bin/sh
PWD=`pwd`
XP_DIR=`dirname $PWD`
tmpout="/tmp/cfgmake.$$"
test_cc ()
{
ext="$1"
name="$2"
echo "#include <stdio.h>" > "$tmpout.$ext"
echo "main () { printf (\"%s\", \"$name\"); }" >> "$tmpout.$ext"
("$name" -o "$tmpout" "$tmpout.$ext") >/dev/null 2>&1 || {
rm -f "$tmpout.$ext"
return 1
}
rm -... | Shell |
#!/bin/sh
PWD=`pwd`
XP_DIR=`dirname $PWD`
tmpout="/tmp/cfgmake.$$"
test_cc ()
{
ext="$1"
name="$2"
echo "#include <stdio.h>" > "$tmpout.$ext"
echo "main () { printf (\"%s\", \"$name\"); }" >> "$tmpout.$ext"
("$name" -o "$tmpout" "$tmpout.$ext") >/dev/null 2>&1 || {
rm -f "$tmpout.$ext"
return 1
}
rm -... | Shell |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2012-03-27.16; # UTC
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009, 2010,
# 2011, 2012 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the t... | Shell |
# libtool (GNU libtool) 2.4.2
# Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006,
# 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc.
# This is free software; see the source for copying conditions. There is NO
# warranty; no... | Shell |
#!/bin/sh
# install - install a program, script, or datafile
scriptversion=2011-01-19.21; # UTC
# This originates from X11R5 (mit/util/scripts/install.sh), which was
# later released in X11R6 (xc/config/util/install.sh) with the
# following copyright and license.
#
# Copyright (C) 1994 X Consortium
#
# Permission is ... | Shell |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2012-03-27.16; # UTC
# Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009, 2010,
# 2011, 2012 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the t... | Shell |
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
scriptversion=2012-01-06.13; # UTC
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
# 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This pro... | Shell |
#! /bin/sh
# Configuration validation subroutine script.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
# 2011, 2012 Free Software Foundation, Inc.
timestamp='2012-04-18'
# This file is (in principle) common to ALL GNU software... | 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, 2007, 2008, 2009, 2010,
# 2011, 2012 Free Software Foundation, Inc.
timestamp='2012-02-10'
# This file is free software; you can redistribute it and/... | Shell |
#!/bin/sh
# install - install a program, script, or datafile
scriptversion=2011-01-19.21; # UTC
# This originates from X11R5 (mit/util/scripts/install.sh), which was
# later released in X11R6 (xc/config/util/install.sh) with the
# following copyright and license.
#
# Copyright (C) 1994 X Consortium
#
# Permission is ... | Shell |
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
scriptversion=2012-01-06.13; # UTC
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
# 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This pro... | Shell |
#!/bin/sh
#
# San Angeles Observation OpenGL ES version example
#
# This shell script builds the demo application
# with executable name "SanOGLES".
#
# Before running it, make sure that either libGLES_CM.so
# or libGLES_CL.so is available in the library path.
# Alternatively you can copy one of them to the same
# dire... | Shell |
#!/bin/ksh
# launcher script for jsdoc
# Author: Avi Deitcher
#
# This program is released under the MIT License as follows:
# Copyright (c) 2008-2009 Atomic Inc <avi@jsorm.com>
#
#Permission is hereby granted, free of charge, to any person
#obtaining a copy of this software and associated documentation
#files (the "... | Shell |
#!/bin/bash
# Yet another crazy sed script! :-D
# This one pulls out event methods from KeyboardListener.h
# and generates methods for this demo, storing them
# temporarily in handlecode.cpp.
sed -e 's/\tinline virtual void //' < ../../event/KeyboardListener.h |
sed -e 's/\(\) {}//' | sed -e 's/.*/\tvoid KeyboardDem... | Shell |
#!/bin/bash
# Yet another crazy sed script! :-D
# This one pulls out event methods from KeyboardListener.h
# and generates methods for this demo, storing them
# temporarily in handlecode.cpp.
sed -e 's/\tinline virtual void //' < ../../event/KeyboardListener.h |
sed -e 's/\(\) {}//' | sed -e 's/.*/\tvoid KeyboardDem... | Shell |
#!/bin/bash
# simulates a video wall by starting multiple instances of the program
# with different position parameters
rows=3
cols=3
width=200
height=200
let "max_x = cols/2"
let "max_y = rows/2"
let "x=0"
#for i in `seq -$max_x 1 $max_x`; do
for i in "-3 -2 -1 1 2 3"; do
let "y=($cols-1)*height"
for j in "-3... | Shell |
#!/bin/bash
# simulates a video wall by starting multiple instances of the program
# with different position parameters
rows=3
cols=3
width=200
height=200
let "max_x = cols/2"
let "max_y = rows/2"
let "x=0"
#for i in `seq -$max_x 1 $max_x`; do
for i in "-3 -2 -1 1 2 3"; do
let "y=($cols-1)*height"
for j in "-3... | Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.