code
stringlengths
1
1.96M
language
stringclasses
1 value
#! /usr/bin/ksh # datecalc -- Perderabo's date calculator # USAGE="\ datecalc -a year month day - year month day datecalc -a year month day [-|+] n datecalc -d year month day datecalc -D year month day datecalc -j year month day datecalc -j n datecalc -l year month use \"datecalc -help\" use for more documentatio...
Shell
#!/bin/bash # the CC field echo > mail.txt echo "Index generating finished or crashed." >> mail.txt echo "List is sorted by time, first elements are the last created" >> mail.txt echo >> mail.txt ls -alrth indexes >> mail.txt mail -s "Generating indexes finsihed or crashed" pavol.zibrita+index@gmail.com < mail.txt ma...
Shell
if [ -n "`ps auxw | grep batch_server.xml | grep IndexBatchCreator | grep -v grep`" ]; then echo "The gen_index process is already running!" echo "`ps auxw | grep batch_server.xml | grep IndexBatchCreator | grep -v grep`" exit 1 fi if [ -n "`ps auxw | grep batch_server_upload.xml | grep IndexBatchCreator | grep -...
Shell
#! /usr/bin/ksh alias datecalc=/usr/local/bin/datecalc # weekselector --- script to assist in scheduling cron jobs # Perderabo Oct 11, 2003 # # example: # You want to run command1 on the first monday of each month and # you want to run command2 on the last monday of each month. # Just use this syntax: # # 0...
Shell
# This file will start the Osm Extraction UI with custom memory settings for # the JVM. With the below settings the heap size (Available memory for the application) # will range from 64 megabyte up to 512 megabyte. #/usr/lib/jvm/java-6-sun/jre/bin/ if [ -n "`ps auxw | grep batch_server.xml | grep IndexBatchCreator | g...
Shell
#!/bin/bash # the CC field echo > mail.txt echo "Uploading finished or crashed." >> mail.txt echo "Files in upload dir:" >> mail.txt echo >> mail.txt ls -alt indexes/uploaded >> mail.txt echo >> mail.txt echo "Files in indexes dir:" >> mail.txt ls -alt indexes >> mail.txt mail -s "Uploading indexes finsihed or chrase...
Shell
# This file will start the Osm Extraction UI with custom memory settings for # the JVM. With the below settings the heap size (Available memory for the application) # will range from 64 megabyte up to 512 megabyte. java -Djava.util.logging.config.file=logging.properties -Xms64M -Xmx720M -cp "./OsmAndMapCreator.jar:./l...
Shell
#!/bin/sh # This file will start the Osm Extraction UI with custom memory settings for # the JVM. With the below settings the heap size (Available memory for the application) # will range from 64 megabyte up to 512 megabyte. java -Djava.util.logging.config.file=logging.properties -Xms64M -Xmx512M -cp "./OsmAndMapCrea...
Shell
#!/bin/sh # This file will start the Osm Extraction UI with custom memory settings for # the JVM. With the below settings the heap size (Available memory for the application) # will range from 64 megabyte up to 720 megabyte. java -Djava.util.logging.config.file=logging.properties -Xms64M -Xmx720M -cp "./OsmAndMapCrea...
Shell
#!/bin/sh DIRECTORY=$(cd `dirname $0` && pwd) ## VARIABLES ### LOG_DIR="$DIRECTORY"/logs DATE=$(date +%d-%m-%y) LOG_FILE="$LOG_DIR/${DATE}.log" mkdir $LOG_DIR touch $LOG_FILE git pull --rebase 2>&1 >>$LOG_FILE # 1. Update git directory "${DIRECTORY}/update_git.sh" 2>&1 >>$LOG_FILE # 2. Go through branches and gen...
Shell
#!/bin/sh DIRECTORY=$(cd `dirname $0` && pwd) FTP_SITE=download.osmand.net FTP_FOLDER=night-builds FTP_LATEST=latest-night-build # FTP_USER in local.properties # FTP_PWD= in local.properties BUILD_DIR="$DIRECTORY"/builds LATEST_DIR="$DIRECTORY"/latests . "$DIRECTORY"/local.properties # 3. upload to ftp server lftp -c...
Shell
#!/bin/sh DIRECTORY=$(cd `dirname $0` && pwd) GIT_SITE_DIR=$DIRECTORY/osmand-git/config/site LOCAL_SITE_DIR=/var/www-download files='*.php tile_sources.xml favicon.ico' for f in $files ; do cp $GIT_SITE_DIR/$f $LOCAL_SITE_DIR/ -u; done
Shell
#!/bin/sh DIRECTORY=$(cd `dirname $0` && pwd) GIT_DIR="$DIRECTORY"/osmand-git GIT_URL=git://github.com/osmandapp/Osmand.git if [ ! -d "$GIT_DIR" ]; then git clone ${GIT_URL} "${GIT_DIR}" fi cd "$GIT_DIR" git checkout . git reset HEAD --hard git checkout master # First time add entries to .git/config (!) and add...
Shell
#!/bin/sh DIRECTORY=$(cd `dirname $0` && pwd) GIT_DIR="$DIRECTORY"/osmand-git GIT_ORIGIN_NAME=origin BUILD_DIR="$DIRECTORY"/builds LATESTS_DIR="$DIRECTORY"/latests VERSION_FILE=./DataExtractionOSM/src/net/osmand/Version.java DATE=$(date +%Y-%m-%d) SHORT_DATE=$(date +%d-%m) # clean all files in build directory rm -r ...
Shell
#!/bin/sh DIRECTORY=$(cd `dirname $0` && pwd) GIT_DIR="$DIRECTORY"/osmand-git GIT_URL=git://github.com/osmandapp/Osmand.git GIT_ORIGIN_NAME=origin #rm -rf "${GIT_DIR}" # initialize git if it is not present (clone it) if [ ! -d "$GIT_DIR" ]; then git clone ${GIT_URL} "${GIT_DIR}" fi # update git cd "${GIT_DIR}" gi...
Shell
#!/bin/sh DIRECTORY=$(cd `dirname $0` && pwd) FTP_SITE=download.osmand.net FTP_FOLDER=/var/www-download/night-builds FTP_LATEST=/var/www-download/latest-night-build # FTP_USER in local.properties # FTP_PWD= in local.properties BUILD_DIR="$DIRECTORY"/builds LATEST_DIR="$DIRECTORY"/latests . "$DIRECTORY"/local.properti...
Shell
#!/bin/sh # LaunchXTerm.sh # X11_xterm # # Created by James Tuley on 2/18/07. # Copyright 2007 Jay Tuley. All rights reserved. /usr/X11R6/bin/xterm
Shell
#!/bin/sh PYTHONPATH=./lib python -3 -W ignore pgn2ecodb.py
Shell
#!/bin/sh PYTHONPATH=./lib python -3 -W ignore create_theme_preview.py
Shell
#!/bin/sh PYTHONPATH=../lib python "$@"
Shell
#!/bin/sh python setup.py --command-packages=stdeb.command sdist_dsc --workaround-548392=False bdist_deb
Shell
#!/bin/sh PYTHONPATH=/home/tamas/gbtami-database/lib python -m cProfile -o rep.prof PgnImport.py python print_pstats.py
Shell
#!/bin/sh xgettext --package-name=pychess -o lang/pychess.pot glade/*.glade lib/pychess/Main.py lib/pychess/*/*.py lib/pychess/*/*/*.py sidepanel/*.py sidepanel/*.glade sed -i '/#, fuzzy/d' lang/pychess.pot line=""Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"" sed -i "/${line}/ s/^/# /" lang/pychess.pot
Shell
#!/bin/sh # Start GUI Vim on a copy of the tutor file. # Usage: gvimtutor [xx] # See vimtutor for usage. exec `dirname $0`/vimtutor -g "$@"
Shell
#! /bin/sh # Start Vim on a copy of the tutor file. # Usage: vimtutor [-g] [xx] # Where optional argument -g starts vimtutor in gvim (GUI) instead of vim. # and xx is a language code like "es" or "nl". # When an argument is given, it tries loading that tutor. # When this fails or no argument was given, it tries using...
Shell
#! /bin/sh # installman.sh --- install or uninstall manpages for Vim # # arguments: # 1 what: "install", "uninstall" or "xxd" # 2 target directory e.g., "/usr/local/man/it/man1" # 3 language addition e.g., "" or "-it" # 4 vim location as used in manual pages e.g., "/usr/local/share/vim" # 5 runtime dir ...
Shell
#! /bin/sh # # which.sh -- find where an executable is located. It's here because the # "which" command is not supported everywhere. Used by Makefile. IFS=":" for ac_dir in $PATH; do if test -f "$ac_dir/$1"; then echo "$ac_dir/$1" break fi done
Shell
#! /bin/sh # # link.sh -- try linking Vim with different sets of libraries, finding the # minimal set for fastest startup. The problem is that configure adds a few # libraries when they exist, but this doesn't mean they are needed for Vim. # # Author: Bram Moolenaar # Last change: 2010 Nov 03 # License: Publi...
Shell
#! /bin/sh # # osdef.sh -- copy osdef.h.in to osdef.h while removing declarations # found in the system header files. Caution: weird sed magic going on here. # Warnings are printed if sed did not survive. # # (C) Michael Schroeder, Juergen Weigert # # osdef.h.in has been split into osdef1.h.in and osdef2.h.in, because ...
Shell
#! /bin/sh # mkinstalldirs --- make directory hierarchy # Author: Noah Friedman <friedman@prep.ai.mit.edu> # Created: 1993-05-16 # Public domain errstatus=0 for file do set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'` shift pathcomp= for d do pathcomp="$pathcomp$d" ...
Shell
#! /bin/sh # # pathdef.sh: adjust pathdef.c for auto/link.sed, if it exists # if test -s auto/link.sed; then cp auto/pathdef.c auto/pathdef.tmp sed -f auto/link.sed <auto/pathdef.tmp >auto/pathdef.c rm -f auto/pathdef.tmp fi # vim:set sw=2 et:
Shell
#!/bin/sh # toolcheck -- check for tools that have severe bugs. Good that all the buggy # tools identify by version numbers. This is the spirit of GNU :-) # # 24.7.95 jw. retval=0 reply="`sh -version -c exit 2>&1 < /dev/null`" case "$reply" in GNU*1.14.3*) echo "- sh is '$reply'"; echo " CAUTION: This she...
Shell
#! /bin/sh # installml.sh --- install or uninstall manpage links for Vim # # arguments: # 1 what: "install" or "uninstall" # 2 also do GUI pages: "yes" or "" # 3 target directory e.g., "/usr/local/man/it/man1" # 4 vim exe name e.g., "vim" # 5 vimdiff exe name e.g., "vimdiff" # 6 evim exe name ...
Shell
#!/bin/sh # # ref - Check spelling of the arguments # # Usage: ref word .. # # can be used for the K command of Vim # spell <<EOF $* EOF
Shell
#!/bin/sh # enable DEC locator input model on remote terminal printf "\033[1;2'z\033[1;3'{\c" vim "$@" # disable DEC locator input model on remote terminal printf "\033[2;4'{\033[0'z\c"
Shell
#!/bin/sh # Shell script to start Vim with less.vim. # Read stdin if no arguments were given and stdin was redirected. if test -t 1; then if test $# = 0; then if test -t 0; then echo "Missing filename" 1>&2 exit fi vim --cmd 'let no_plugin_maps = 1' -c 'runtime! macros/less.vim' - else ...
Shell
#! /bin/sh prefix=stock_ list= for file in "$@" do name=`echo "$file" | sed 's|-|_|g; s|^.*/||; s|\..*$||'` list="$list $prefix$name $file" done gdk-pixbuf-csource --raw --static --build-list $list
Shell
# Generated from ltmain.m4sh. # ltmain.sh (GNU libtool) 2.2.6b # Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 2008 Free Software Foundation, Inc. # This is free software; see the source for copying conditions. There is NO # ...
Shell
#! /bin/sh # depcomp - compile a program generating dependencies as side-effects scriptversion=2007-03-29.01 # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007 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 ...
Shell
#!/bin/bash -e # If you want to track the status of the project in Subversion, run this script # instead of relying on "svn update". The script makes sure you end up with a # working copy of the source tree that is customized to the version of GNU # "autotools" that are installed on your machine. # # Alternatively, yo...
Shell
#! /bin/sh # Common stub for a few missing GNU programs while installing. scriptversion=2006-05-10.23 # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006 # Free Software Foundation, Inc. # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996. # This program is free software; you can redi...
Shell
#!/bin/sh # install - install a program, script, or datafile scriptversion=2006-12-25.00 # 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 hereby ...
Shell
#!/bin/bash -e PORT=4201 PIDFILE=stresstest.pid rm -f "${PIDFILE}" trap '[ -r "${PIDFILE}" ] && kill "$(cat "${PIDFILE}")"; rm -f "${PIDFILE}"' \ EXIT INT TERM QUIT HUP ./shellinaboxd -p "${PORT}" -s "/:$(id -u):$(id -g):${PWD}:/bin/bash -c \ 'while read i; do [ -z "${i}" ] && break; echo ...
Shell
#!/bin/bash -e tmp=/tmp/make-chained-cert.$$ trap 'echo; tput bel; echo FAILURE; rm -rf "${tmp}"; exit 1' EXIT INT TERM QUIT mkdir -p "${tmp}/demoCA/newcerts" printf '%08x' $$ >"${tmp}/demoCA/serial" touch "${tmp}/demoCA/index.txt" cd "${tmp}" openssl req -nodes -new -x509 -keyout "${tmp}/ca-key.pem" ...
Shell
#!/bin/bash -e # The script ensures that all commands succeed unless an error occurred. If it # does though, the shell terminates the script and our exit handler runs. trap 'tput bel || :; echo Failed! >&2' EXIT # Ask the user a yes/no question. This function does not require the user to # press ENTER after making a ...
Shell
#!/bin/bash # This is a simple demo CGI script that illustrates how to use ShellInABox in # CGI mode. case "${REQUEST_METHOD}" in POST) # Retrieve CGI parameter, then start shellinabox with this command read parms parms="$(printf "$(echo "${parms}"|sed -e 's/%\(..\)/\\x\1/g;s/%/%%/g')")" parms="...
Shell
#! /bin/bash # Binary of the Texturepacker: TEXTUREPACKER_BINARY=/usr/local/bin/TexturePacker # Shared Spritesheet-Output-Definitions: SPRITESHEET_OUTPUT_DIRECTORY="../assets/gfx/spritesheets/" SPRITESHEET_OUTPUT_JAVAIDS_PACKAGE="org.anddev.andengine.examples.spritesheets" SPRITESHEET_OUTPUT_JAVAIDS_DIRECTORY="../src...
Shell
#!/bin/bash # (C) Copyright 2014, Google Inc. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in wr...
Shell
#!/bin/bash if [ $# -ne 1 ] then echo "Usage:$0 scantype" echo "UNLV data comes in several scan types:" echo "3B=300 dpi binary" echo "3A=adaptive thresholded 300 dpi" echo "3G=300 dpi grey" echo "4B=400dpi binary" echo "2B=200dpi binary" echo "For now we only use 3B" exit 1 fi ext=...
Shell
#!/bin/bash # File: runalltests.sh # Description: Script to run a set of UNLV test sets. # Author: Ray Smith # Created: Thu Jun 14 08:21:01 PDT 2007 # # (C) Copyright 2007, Google Inc. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with...
Shell
#!/bin/bash # File: runtestset.sh # Description: Script to run tesseract on a single UNLV set. # Author: Ray Smith # Created: Wed Jun 13 10:13:01 PDT 2007 # # (C) Copyright 2007, Google Inc. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in complianc...
Shell
#!/bin/bash # File: counttestset.sh # Description: Script to count the errors on a single UNLV set. # Author: Ray Smith # Created: Wed Jun 13 11:58:01 PDT 2007 # # (C) Copyright 2007, Google Inc. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in comp...
Shell
#-*- mode: shell-script;-*- # # bash completion support for tesseract # # Copyright (C) 2009 Neskie A. Manuel <neskiem@gmail.com> # Distributed under the Apache License, Version 2.0. # _tesseract_languages() { local TESSDATA="/usr/share/tesseract-ocr/tessdata/" local langs="$(ls $TESSDATA | grep traineddata | cut -...
Shell
#!/bin/bash # # File: generate_manpages.sh # Description: Converts .asc files into man pages, etc. for Tesseract. # Author: eger@google.com (David Eger) # Created: 9 Feb 2012 # # (C) Copyright 2012 Google Inc. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this f...
Shell
#!/bin/sh # This is a simple script which is meant to help developers # better deal with the GNU autotools, specifically: # # aclocal # autoheader # autoconf # automake # # The whole thing is quite complex... # # The idea is to run this collection of tools on a single platform, # typically the main development...
Shell
#!/bin/bash if [ $# != 1 ] then echo "Usage: $0 emailAddress" exit 1 fi read -s -p "Password: " mypassword echo "" curl https://www.google.com/accounts/ClientLogin -d Email=$1 -d "Passwd=$mypassword" -d accountType=GOOGLE -d source=Google-cURL-Example -d service=ac2dm
Shell
#!/bin/sh # Need to run a full clean install when changing the request factory interfaces # Doing so deletes the local debug app engine database # This script backs that up first SRC=shuffle-app-engine/target/shuffle-app-engine-2.0.0-SNAPSHOT/WEB-INF/appengine-generated DEST=../db_backup rm -r $DEST mkdir $DEST cp -...
Shell
#!/bin/sh # Create a backup tar gzip file of the cwd with the date appended # located in the parent directory. FILENAME=../`pwd|xargs basename`-`date -j "+%Y-%m-%d"`.tgz echo Will create $FILENAME tar cfz $FILENAME . echo Done.
Shell
#********************************************************************************* # The contents of this file are subject to the vtiger CRM Public License Version 1.0 # ("License"); You may not use this file except in compliance with the License # The Original Code is: vtiger CRM Open Source # The Initial Develop...
Shell
#********************************************************************************* # The contents of this file are subject to the vtiger CRM Public License Version 1.0 # ("License"); You may not use this file except in compliance with the License # The Original Code is: vtiger CRM Open Source # The Initial Developer o...
Shell
#********************************************************************************* # The contents of this file are subject to the vtiger CRM Public License Version 1.0 # ("License"); You may not use this file except in compliance with the License # The Original Code is: vtiger CRM Open Source # The Initial Developer o...
Shell
#********************************************************************************* # The contents of this file are subject to the vtiger CRM Public License Version 1.0 # ("License"); You may not use this file except in compliance with the License # The Original Code is: vtiger CRM Open Source # The Initial Developer o...
Shell
#********************************************************************************* # The contents of this file are subject to the vtiger CRM Public License Version 1.0 # ("License"); You may not use this file except in compliance with the License # The Original Code is: vtiger CRM Open Source # The Initial Developer o...
Shell
#********************************************************************************* # The contents of this file are subject to the vtiger CRM Public License Version 1.0 # ("License"); You may not use this file except in compliance with the License # The Original Code is: vtiger CRM Open Source # The Initial Developer o...
Shell
#!/bin/bash # Word List Manipulator (wlm) # Version 0.7 last edit 13-10-2012 12:00 # # Credits to ; # ============ # Gitsnik, because he's awesome :) # Pureh@te as used and learned a lot from his wordlist_tool script. # Members at unix.com, have always received expert help there. # http://cfajohnson.com/shell/ssr/08-T...
Shell
#!/bin/bash # Word List Manipulator (wlm) # Version 0.7 last edit 13-10-2012 12:00 # # Credits to ; # ============ # Gitsnik, because he's awesome :) # Pureh@te as used and learned a lot from his wordlist_tool script. # Members at unix.com, have always received expert help there. # http://cfajohnson.com/shell/ssr/08-T...
Shell
#!/bin/bash # Word List Manipulator (wlm) # Version 0.7 last edit 13-10-2012 12:00 # # Credits to ; # ============ # Gitsnik, because he's awesome :) # Pureh@te as used and learned a lot from his wordlist_tool script. # Members at unix.com, have always received expert help there. # http://cfajohnson.com/shell/ssr/08-T...
Shell
#!/bin/bash # Word List Manipulator (wlm) # Version 0.9 last edit 13-05-2013 23:00 # Build: 0905 # Credits to ; # ============ # Gitsnik, because he's awesome :) # Pureh@te as used and learned a lot from his wordlist_tool script. # Members at unix.com, have always received expert help there. # http://cfajohnson.com/sh...
Shell
#!/bin/bash # Word List Manipulator (wlm) # Version 0.9 last edit 13-05-2013 23:00 # Build: 0905 # Credits to ; # ============ # Gitsnik, because he's awesome :) # Pureh@te as used and learned a lot from his wordlist_tool script. # Members at unix.com, have always received expert help there. # http://cfajohnson.com/sh...
Shell
#!/bin/bash # Word List Manipulator (wlm) # Version 0.7 last edit 13-10-2012 12:00 # # Credits to ; # ============ # Gitsnik, because he's awesome :) # Pureh@te as used and learned a lot from his wordlist_tool script. # Members at unix.com, have always received expert help there. # http://cfajohnson.com/shell/ssr/08-T...
Shell
#!/bin/sh ./integrate-hand-alignments.pl -align_directory ~/public/align -source ~/Desktop/MTLabFall2008/Data/Preprocessed/Europarl-V3b/europarl-v3b.de-en.de.tok -target ~/Desktop/MTLabFall2008/Data/Preprocessed/Europarl-V3b/europarl-v3b.de-en.en.tok -step 20 -trainreserve 25 -testreserve 25 -max_total 8000 -prefix tes...
Shell
#!/bin/sh ./wordalign++ -schedule test/schedule -bitext test/europarl.with.anno -traintest_proportion 0.75
Shell
#!/bin/sh ./wordalign++ -schedule test/schedule -bitext test/europarl.with.anno -traintest_proportion 0.75
Shell
#!/bin/sh ./integrate-hand-alignments.pl -align_directory ~/public/align -source ~/Desktop/MTLabFall2008/Data/Preprocessed/Europarl-V3b/europarl-v3b.de-en.de.tok -target ~/Desktop/MTLabFall2008/Data/Preprocessed/Europarl-V3b/europarl-v3b.de-en.en.tok -step 20 -trainreserve 25 -testreserve 25 -max_total 8000 -prefix tes...
Shell
#!/bin/bash # Copyright 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed t...
Shell
#!/bin/sh cd build if [ -f public_html.tar.gz ] then rm public_html.tar.gz fi if [ -d public_html ] then rm -fR public_html fi cp -R html public_html tar -czvf public_html.tar.gz public_html scp public_html.tar.gz openlyri@openlyrics.info: ssh openlyri@openlyrics.info 'tar -xzvf public_html.tar.gz; rm public_h...
Shell
#!/usr/bin/sh # for this to work you need to have the following installed: # - Xcode: http://developer.apple.com/ # - git: http://help.github.com/mac-git-installation/ # - mercurial / hg: http://mercurial.berkwood.com/ # pull three20 cd .. git clone git://github.com/facebook/three20.git # pull mailcore hg clone http:...
Shell
# tclConfig.sh -- # # This shell script (for sh) is generated automatically by Tcl's # configure script. It will create shell variables for most of # the configuration options discovered by the configure script. # This script is intended to be included by the configure scripts # for Tcl extensions so that they don't ...
Shell
# tkConfig.sh -- # # This shell script (for sh) is generated automatically by Tk's # configure script. It will create shell variables for most of # the configuration options discovered by the configure script. # This script is intended to be included by the configure scripts # for Tk extensions so that they don...
Shell
# tclConfig.sh -- # # This shell script (for sh) is generated automatically by Tcl's # configure script. It will create shell variables for most of # the configuration options discovered by the configure script. # This script is intended to be included by the configure scripts # for Tcl extensions so that they ...
Shell
# tkConfig.sh -- # # This shell script (for sh) is generated automatically by Tk's # configure script. It will create shell variables for most of # the configuration options discovered by the configure script. # This script is intended to be included by the configure scripts # for Tk extensions so that they don't hav...
Shell
#!/bin/sh # success ../examples/test5 -a asdf -c fdas --eee blah -i sss -i fdsf > tmp.out 2>&1 if cmp -s tmp.out $srcdir/test20.out; then exit 0 else exit 1 fi
Shell
#!/bin/sh # success ../examples/test6 --help > tmp.out 2>&1 if cmp -s tmp.out $srcdir/test45.out; then exit 0 else exit 1 fi
Shell
#!/bin/sh # success test hex ../examples/test19 -i 0xA > tmp.out 2>&1 if cmp -s tmp.out $srcdir/test71.out; then exit 0 else exit 1 fi
Shell
#!/bin/sh # success ../examples/test1 -n mike > tmp.out 2>&1 if cmp -s tmp.out $srcdir/test2.out; then exit 0 else exit 1 fi
Shell
#!/bin/sh # failure ../examples/test8 -i=9a -i=1 -s=asdf asdf asdf > tmp.out 2>&1 if cmp -s tmp.out $srcdir/test52.out; then exit 0 else exit 1 fi
Shell
#!/bin/sh # this tests a bug in handling of - chars in Unlabeled args # success ../examples/test2 -i 10 -s hello "-1 -1" > tmp.out 2>&1 if cmp -s tmp.out $srcdir/test61.out; then exit 0 else exit 1 fi
Shell
#!/bin/sh # failure ../examples/test2 -i 10 -s hello -i 9 > tmp.out 2>&1 if cmp -s tmp.out $srcdir/test11.out; then exit 0 else exit 1 fi
Shell
#!/bin/sh # failure ../examples/test5 --aaa dilbert -b asdf -c fdas > tmp.out 2>&1 if cmp -s tmp.out $srcdir/test24.out; then exit 0 else exit 1 fi
Shell
#!/bin/sh # success ../examples/test1 -r -n mike > tmp.out 2>&1 if cmp -s tmp.out $srcdir/test1.out; then exit 0 else exit 1 fi
Shell
#!/bin/sh # success ../examples/test8 -s=bill -i=9 -i=8 -B homer marge bart > tmp.out 2>&1 if cmp -s tmp.out $srcdir/test47.out; then exit 0 else exit 1 fi
Shell
#!/bin/sh # success ../examples/test5 --help > tmp.out 2>&1 if cmp -s tmp.out $srcdir/test44.out; then exit 0 else exit 1 fi
Shell
#!/bin/sh # success ../examples/test8 -s=aaa homer marge bart -- one two > tmp.out 2>&1 if cmp -s tmp.out $srcdir/test48.out; then exit 0 else exit 1 fi
Shell
#!/bin/sh # success ../examples/test5 -b asdf -c fdas -g asdf -j homer > tmp.out 2>&1 if cmp -s tmp.out $srcdir/test21.out; then exit 0 else exit 1 fi
Shell
#!/bin/sh # success ../examples/test3 --stringTest=aaa homer marge bart -- one two > tmp.out 2>&1 if cmp -s tmp.out $srcdir/test14.out; then exit 0 else exit 1 fi
Shell
#!/bin/sh # failure # This used to fail on the "Too many arguments!" but now fails sooner, # and on a more approriate error. ../examples/test5 --aaa asdf -c fdas --fff blah -i one -i two -j huh > tmp.out 2>&1 if cmp -s tmp.out $srcdir/test57.out; then exit 0 else exit 1 fi
Shell
#!/bin/sh # success ../examples/test2 --version > tmp.out 2>&1 if cmp -s tmp.out $srcdir/test8.out; then exit 0 else exit 1 fi
Shell
#!/bin/sh # success ../examples/test4 -BA --Bs asdf > tmp.out 2>&1 if cmp -s tmp.out $srcdir/test19.out; then exit 0 else exit 1 fi
Shell
#!/bin/sh # success ../examples/test2 --help > tmp.out 2>&1 if cmp -s tmp.out $srcdir/test41.out; then exit 0 else exit 1 fi
Shell
#!/bin/sh # success ../examples/test3 --stringTest=bill -i=9 -i=8 -B homer marge bart > tmp.out 2>&1 if cmp -s tmp.out $srcdir/test13.out; then exit 0 else exit 1 fi
Shell