code stringlengths 1 1.96M | language stringclasses 1
value |
|---|---|
#! /bin/sh
# Configuration validation subroutine script.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
timestamp='2005-02-10'
# This file is (in principle) common to ALL GNU software.
# The presence of a machine in this file sug... | Shell |
#! /bin/sh
# Output a system dependent set of variables, describing how to set the
# run time search path of shared libraries in an executable.
#
# Copyright 1996-2005 Free Software Foundation, Inc.
# Taken from GNU libtool, 2001
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
#
# This file is fre... | 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 Free Software Foundation, Inc.
timestamp='2005-02-10'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU Gene... | Shell |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2005-02-09.22
# Copyright (C) 1999, 2000, 2003, 2004, 2005 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 pub... | Shell |
#!/bin/sh
# install - install a program, script, or datafile
scriptversion=2005-02-02.21
# 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/sh
# Common stub for a few missing GNU programs while installing.
scriptversion=2005-02-08.22
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005
# Free Software Foundation, Inc.
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free software; you can redistribu... | Shell |
#!/bin/sh
# Scripts/build-resources.sh
# Build resources.cpp if necessary
# Call with a -f argument to force build of resources even if the system doesn't think it necessary
NEWRES=0
if test "$1" = "-f" ; then
NEWRES=1
fi
# A checksum routine - it doesn't much matter what it is
if test "$CHECKSUM" = "" ; then
CHECK... | Shell |
#!/bin/sh
for i in wxOil/xrc/EN/*.xrc ; do
if ( ! ( fgrep '</object>' >/dev/null $i ) ) ; then rm $i ; fi
done
| Shell |
#!/bin/sh
svn stat -v $1 | sed -n 's/^[ A-Z?\*|!]\{1,15\}/r/;s/ \{1,15\}/\/r/;s/ .*//p'
| Shell |
#!/bin/sh
bmptopnm | pnmtopng -transparent =magenta
| Shell |
#!/bin/sh
RES=$1
echo Finding $RES
egrep -h "\b$RES\b" winoilres/UKEnglish/*.rc | perl -ne '{if (!(/^\s+#/)) {chomp; ($b,$t,$d,$n)=split(/\s+/) ; $n=~s/\"//g; $n=lc($n); print "$b $t $n\n"} }' | while read BITMAP TYPE NAME ; do
if [ x$TYPE = xCURSOR ] ; then
echo Converting cursor $NAME to $BITMAP.cur
cp winoilr... | Shell |
#!/bin/sh
#
# This runs the command line on all files
DIRS="GDraw Kernel PreComp tools wxOil wxXtra"
find $DIRS -name '*.cpp' -or -name '*.c' -or -name '*.h' | sort
| Shell |
#!/bin/sh
for i in wxOil/xrc/EN/*.xrc ; do
if ( ! ( fgrep '</object>' >/dev/null $i ) ) ; then rm $i ; fi
done
| Shell |
#!/bin/sh
#
# This runs the command line on all files
DIRS="GDraw Kernel PreComp tools wxOil wxXtra"
find $DIRS -name '*.cpp' -or -name '*.c' -or -name '*.h' | xargs $*
| Shell |
#!/bin/sh
TEMPFILE=/tmp/strings.xrc.$$
TEMPFILE2=/tmp/strings.source.$$
TEMPFILE3=/tmp/strings.windows.$$
Scripts/xml2flat.pl wxOil/xrc/strings.xrc | awk '{print $1}' | sort | uniq > $TEMPFILE
Scripts/cpp2flat.pl wxOil/Res/UKEnglish/stringtbl.cpp | sort | uniq > $TEMPFILE3
Scripts/all.sh | xargs cat | perl -ne '{chomp;... | Shell |
#!/bin/sh
# Scripts/build-resources.sh
# Build resources.cpp if necessary
# Call with a -f argument to force build of resources even if the system doesn't think it necessary
NEWRES=0
if test "$1" = "-f" ; then
NEWRES=1
fi
# A checksum routine - it doesn't much matter what it is
if test "$CHECKSUM" = "" ; then
CHECK... | Shell |
#!/bin/sh
find utils/input -name '*.rc' | while read f; do echo "Converting $f" 1>&2 ; Scripts/rc2xml.pl $f ; done
rm wxOil/xrc/EN/*.xrc
mv utils/input/*.xrc wxOil/xrc/EN
| Shell |
#!/bin/sh
Scripts/barconverter wxOil/xrc/barsource/bars.ini wxOil/xrc/barsource/pushbar.ini wxOil/xrc/barsource/zoombar.ini wxOil/xrc/barsource/rshapbar.ini wxOil/xrc/barsource/rectangl.ini wxOil/xrc/barsource/ellipse.ini wxOil/xrc/barsource/gradbar.ini wxOil/xrc/barsource/transbar.ini wxOil/xrc/barsource/bezbar.ini wx... | Shell |
#!/bin/sh
svn -v status | egrep -v "^\?" | cut -c 41- | egrep "(.cpp|.h|.xrc)$" | while read f ; do svn propset svn:eol-style LF $f ; svn propset svn:keywords "Id Revision" $f ; done
| Shell |
#!/bin/sh
#
# This runs normalise on all files
DIRS="GDraw Kernel PreComp tools wxOil wxXtra"
find $DIRS -name '*.cpp' -or -name '*.c' -or -name '*.h' | sort | egrep -v "wxOil/(xrc/)?(resources|winresources).cpp" | xargs Scripts/normalise.pl $*
| Shell |
#!/bin/sh
svn stat -v $1 | sed -n 's/^[ A-Z?\*|!]\{1,15\}/r/;s/ \{1,15\}/\/r/;s/ .*//p'
| Shell |
#!/bin/sh
fgrep '<bitmap>' wxOil/xrc/dialogs.xrc | sed -e 's,^.*<bitmap>,,;s,<\/bitmap>.*$,,' | while read f ; do
if ( ! [[ -a wxOil/xrc/$f ]] ) ; then echo Missing: $f ; fi
done
| Shell |
#!/bin/sh
fgrep '<bitmap>' wxOil/xrc/dialogs.xrc | sed -e 's,^.*<bitmap>,,;s,<\/bitmap>.*$,,' | while read f ; do
if ( ! [[ -a wxOil/xrc/$f ]] ) ; then echo Missing: $f ; fi
done
| Shell |
#!/bin/sh
find utils/input -name '*.rc' | while read f; do echo "Converting $f" 1>&2 ; Scripts/rc2xml.pl $f ; done
rm wxOil/xrc/EN/*.xrc
mv utils/input/*.xrc wxOil/xrc/EN
| Shell |
#!/bin/sh
svn -v status | egrep -v "^\?" | cut -c 41- | egrep "(.cpp|.h|.xrc)$" | while read f ; do svn propset svn:eol-style LF $f ; svn propset svn:keywords "Id Revision" $f ; done
| Shell |
#!/bin/sh
#
# This runs the command line on all files
DIRS="GDraw Kernel PreComp tools wxOil wxXtra"
find $DIRS -name '*.cpp' -or -name '*.c' -or -name '*.h' | sort
| Shell |
#!/bin/sh
#
# This runs the command line on all files
DIRS="GDraw Kernel PreComp tools wxOil wxXtra"
find $DIRS -name '*.cpp' -or -name '*.c' -or -name '*.h' | xargs $*
| Shell |
#!/bin/sh
bmptopnm | pnmtopng -transparent =magenta
| Shell |
#!/bin/sh
TEMPFILE=/tmp/strings.xrc.$$
TEMPFILE2=/tmp/strings.source.$$
TEMPFILE3=/tmp/strings.windows.$$
Scripts/xml2flat.pl wxOil/xrc/strings.xrc | awk '{print $1}' | sort | uniq > $TEMPFILE
Scripts/cpp2flat.pl wxOil/Res/UKEnglish/stringtbl.cpp | sort | uniq > $TEMPFILE3
Scripts/all.sh | xargs cat | perl -ne '{chomp;... | Shell |
#!/bin/sh
RES=$1
echo Finding $RES
egrep -h "\b$RES\b" winoilres/UKEnglish/*.rc | perl -ne '{if (!(/^\s+#/)) {chomp; ($b,$t,$d,$n)=split(/\s+/) ; $n=~s/\"//g; $n=lc($n); print "$b $t $n\n"} }' | while read BITMAP TYPE NAME ; do
if [ x$TYPE = xCURSOR ] ; then
echo Converting cursor $NAME to $BITMAP.cur
cp winoilr... | Shell |
#!/bin/sh
Scripts/barconverter wxOil/xrc/barsource/bars.ini wxOil/xrc/barsource/pushbar.ini wxOil/xrc/barsource/zoombar.ini wxOil/xrc/barsource/rshapbar.ini wxOil/xrc/barsource/rectangl.ini wxOil/xrc/barsource/ellipse.ini wxOil/xrc/barsource/gradbar.ini wxOil/xrc/barsource/transbar.ini wxOil/xrc/barsource/bezbar.ini wx... | Shell |
#!/bin/sh
#
# This runs normalise on all files
DIRS="GDraw Kernel PreComp tools wxOil wxXtra"
find $DIRS -name '*.cpp' -or -name '*.c' -or -name '*.h' | sort | egrep -v "wxOil/(xrc/)?(resources|winresources).cpp" | xargs Scripts/normalise.pl $*
| Shell |
#! /bin/sh
# Output a system dependent set of variables, describing how to set the
# run time search path of shared libraries in an executable.
#
# Copyright 1996-2005 Free Software Foundation, Inc.
# Taken from GNU libtool, 2001
# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
#
# This file is fre... | Shell |
#!/bin/sh
# install - install a program, script, or datafile
scriptversion=2005-02-02.21
# 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/sh
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2005-02-09.22
# Copyright (C) 1999, 2000, 2003, 2004, 2005 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 pub... | Shell |
#! /bin/sh
# Common stub for a few missing GNU programs while installing.
scriptversion=2005-02-08.22
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005
# Free Software Foundation, Inc.
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free software; you can redistribu... | Shell |
#! /bin/sh
# depcomp - compile a program generating dependencies as side-effects
scriptversion=2005-02-09.22
# Copyright (C) 1999, 2000, 2003, 2004, 2005 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 pub... | Shell |
#!/bin/sh
# install - install a program, script, or datafile
scriptversion=2005-02-02.21
# 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/sh
# Common stub for a few missing GNU programs while installing.
scriptversion=2005-02-08.22
# Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005
# Free Software Foundation, Inc.
# Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
# This program is free software; you can redistribu... | Shell |
#!/bin/sh
for f in 1 2 3 4 5 6 7 8 9; do
rm -f random$f.svg
xemacs -vanilla -batch -l svg-generator.el -eval "(svg-generate-file $f \"random$f.svg\")"
done
exit 0
| Shell |
#!/bin/sh
for f in 1 2 3 4 5 6 7 8 9; do
rm -f random$f.svg
xemacs -vanilla -batch -l svg-generator.el -eval "(svg-generate-file $f \"random$f.svg\")"
done
exit 0
| Shell |
#!/bin/sh
# install - install a program, script, or datafile
scriptversion=2005-02-02.21
# 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/sh
AUTORECONF=${AUTORECONF:-autoreconf}
${AUTORECONF} -f -i
( cd filters/SVGFilter ; ${AUTORECONF} -f -i )
| Shell |
# -*-shell-script-*-
[Meta]
RootName: @xaralx.org/xaralx:0.7
DisplayName: Xara Xtreme Vector Graphics Tool
DisplayName[de]: Xara Xtreme Vektorgrafik-Programm
DisplayName[fr]: Logiciel d'illustration vectorielle Xara Xtreme
DisplayName[it]: Xara Xtreme Programma di Grafica Vettoriale
ShortName: xaralx
Maintainer: Neil ... | Shell |
# -*-shell-script-*-
[Meta]
RootName: @xaralx.org/xaralx:0.7
DisplayName: Xara Xtreme Vector Graphics Tool
DisplayName[de]: Xara Xtreme Vektorgrafik-Programm
DisplayName[fr]: Logiciel d'illustration vectorielle Xara Xtreme
DisplayName[it]: Xara Xtreme Programma di Grafica Vettoriale
ShortName: xaralx
Maintainer: Neil ... | Shell |
#!/bin/bash
nvcc -O2 -arch=sm_13 -o SS_CUSP segregatedSolverCUSP.cpp CUSPsolver_momentum.cu CUSP_pressureCorrection.cu -lcublas -lcusparse | Shell |
#!/bin/bash
nvcc -O2 -arch=sm_13 -o SSpardiso segregatedSolverPardiso.cpp pardisoSolver_momentum.cpp pardisoSolver_deltaP.cpp CUSP_pressureCorrectionOperations.cu -lcublas -lcusparse -DMKLPARDISO -I/opt/intel/mkl/include -L/opt/intel/lib/intel64 -L/opt/intel/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_... | Shell |
#!/bin/bash
nvcc -O2 -arch=sm_13 -DCG_CUDA -DBiCG_CUSP -o SS_cudaCG_BiCG segregatedSolver.cpp CUSP_pC_CUDA_CG.cu CUSP_BiCG.cu -lcublas -lcusparse
nvcc -O2 -arch=sm_13 -DCR_CUDA -DBiCG_CUSP -o SS_cudaCR_BiCG segregatedSolver.cpp CUSP_pC_CUDA_CR.cu CUSP_BiCG.cu -lcublas -lcusparse
nvcc -O2 -arch=sm_13 -DCG_CUSP -... | Shell |
#!/bin/bash
g++ -O2 -DSINGLE -o Stokes Stokes3D.cpp
g++ -O2 -DSINGLE -o NS navierStokes3D.cpp
nvcc -O2 -DCUSP -DSINGLE -o StokesCUSP Stokes3D.cpp CUSPsolver.cu
nvcc -O2 -DCUSP -DSINGLE -o NSCUSP navierStokes3D.cpp CUSPsolver.cu
nvcc -O2 -arch=sm_13 -DCUSP -o NSCUSPdouble navierStokes3D.cpp CUSPsolver.cu
icc -O2 -DM... | Shell |
#!/bin/bash
nvcc -O2 -arch=sm_13 -DCUSP -o poissonCUSP poissonSolver.cpp CUSPsolver.cu
nvcc -O2 -arch=sm_13 -DCUSPARSE -o poissonCUSPARSE poissonSolver.cpp CUSPARSEsolver.cu -I$CULASPARSE_INC_PATH -lcublas -lcusparse
nvcc -O2 -arch=sm_13 -DCULA -o poissonCULA poissonSolver.cpp CULAsolver.cu -L$CULASPARSE_LIB_PATH_64... | Shell |
#!/bin/sh
rm ./thumbs/*.png
for i in *.png
do
echo "processing $i"
convert -thumbnail 250 $i ./thumbs/$i
done
| Shell |
#!/bin/sh
#
#=========================================================================
# Copyright 2004 The Apache Software Foundation.
#
# 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
... | Shell |
#!/bin/sh
#
#=========================================================================
# Copyright 2004 The Apache Software Foundation.
#
# 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
... | Shell |
#!/bin/sh
#
#=========================================================================
# Copyright 2004 The Apache Software Foundation.
#
# 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
... | Shell |
#!/bin/sh
#
#=========================================================================
# Copyright 2004 The Apache Software Foundation.
#
# 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
... | Shell |
#!/bin/sh
#
#=========================================================================
# Copyright 2004 The Apache Software Foundation.
#
# 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
... | Shell |
#!/bin/sh
#
#=========================================================================
# Copyright 2004 The Apache Software Foundation.
#
# 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
... | Shell |
#!/bin/sh
#
#=========================================================================
# Copyright 2004 The Apache Software Foundation.
#
# 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
... | Shell |
#!/bin/sh
#
#=========================================================================
# Copyright 2004 The Apache Software Foundation.
#
# 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
... | Shell |
#!/bin/bash
bin/examplefs $1 $2 -f -s
| Shell |
#!/bin/sh
echo "Content-Type: text/plain"
echo
echo "This is shell script CGI."
| Shell |
#!/bin/sh
echo "echoing bad headers: server must report status 500"
exec 1>&2
echo shit!!!
| Shell |
#!/bin/sh
echo "Content-Type: text/plain"
echo
echo $QUERY_STRING
| Shell |
#!/bin/bash
printusage(){
echo "Usage:"
echo -e "\t`basename $0` img-file grub-stage1 grub-stage2"
echo -e "\te.g. `basename $0` 80m.img /usr/local/src/grub-0.97/stage1/stage1 /usr/local/src/grub-0.97/stage2/stage2"
echo
}
if [ $# -ne 3 ]; then
printusage
exit 1
fi
img_file=$1
stage1=$2
sta... | Shell |
#!/bin/bash
while read line
do
kw=`echo $line | awk -F "[ ]" '{print $1}'`
if [ "$kw" == "digraph" ]; then
gname=`echo $line | awk -F "[ ]" '{print $2}'`
fname=$gname".dot"
pname=$gname".png"
echo $kw" "$gname
echo $line > $fname
while read line
do
if [ "$line" == "--separator--" ]; then
dot -Tp... | Shell |
#!/bin/bash
#################################################################################################################
# Usage:
# ./genlog
# Note:
# extract syslog from disk
#
# BUGS:
# Forrest Y. Yu
# ... | Shell |
#!/bin/bash
while read line
do
kw=`echo $line | awk -F "[ ]" '{print $1}'`
if [ "$kw" == "digraph" ]; then
gname=`echo $line | awk -F "[ ]" '{print $2}'`
fname=$gname".dot"
pname=$gname".png"
echo $kw" "$gname
echo $line > $fname
while read line
do
if [ "$line" == "--separator--" ]; then
dot -Tp... | Shell |
#!/bin/bash
#################################################################################################################
# Usage:
# ./genlog
# Note:
# extract syslog from disk
#
# BUGS:
# Forrest Y. Yu
# ... | Shell |
#!/bin/bash
while read line
do
kw=`echo $line | awk -F "[ ]" '{print $1}'`
if [ "$kw" == "digraph" ]; then
gname=`echo $line | awk -F "[ ]" '{print $2}'`
fname=$gname".dot"
pname=$gname".png"
echo $kw" "$gname
echo $line > $fname
while read line
do
if [ "$line" == "--separator--" ]; then
dot -Tp... | Shell |
#!/bin/bash
printusage(){
echo "Usage:"
echo -e "\t`basename $0` file"
echo
}
if [ $# -ne 1 ]; then
printusage
exit 1
fi
out_file=$1
echo -e "\0invalidated" > /tmp/invalid.hd.file
dd if=/tmp/invalid.hd.file of=$out_file seek=`echo "obase=10;ibase=16;(\`egrep -e '^ROOT_BASE' ./boot/include/load.... | Shell |
#!/bin/bash
#################################################################################################################
# Usage:
# ./genlog
# Note:
# extract syslog from disk
#
# BUGS:
# Forrest Y. Yu
# ... | Shell |
#!/bin/bash
while read line
do
kw=`echo $line | awk -F "[ ]" '{print $1}'`
if [ "$kw" == "digraph" ]; then
gname=`echo $line | awk -F "[ ]" '{print $2}'`
fname=$gname".dot"
pname=$gname".png"
echo $kw" "$gname
echo $line > $fname
while read line
do
if [ "$line" == "--separator--" ]; then
dot -Tp... | Shell |
#!/bin/bash
#################################################################################################################
# Usage:
# ./genlog
# Note:
# extract syslog from disk
#
# BUGS:
# Forrest Y. Yu
# ... | Shell |
#!/bin/bash
while read line
do
kw=`echo $line | awk -F "[ ]" '{print $1}'`
if [ "$kw" == "digraph" ]; then
gname=`echo $line | awk -F "[ ]" '{print $2}'`
fname=$gname".dot"
pname=$gname".png"
echo $kw" "$gname
echo $line > $fname
while read line
do
if [ "$line" == "--separator--" ]; then
dot -Tp... | Shell |
#!/bin/bash
#################################################################################################################
# Usage:
# ./genlog
# Note:
# extract syslog from disk
#
# BUGS:
# Forrest Y. Yu
# ... | Shell |
#!/bin/bash
while read line
do
kw=`echo $line | awk -F "[ ]" '{print $1}'`
if [ "$kw" == "digraph" ]; then
gname=`echo $line | awk -F "[ ]" '{print $2}'`
fname=$gname".dot"
pname=$gname".png"
echo $kw" "$gname
echo $line > $fname
while read line
do
if [ "$line" == "--separator--" ]; then
dot -Tp... | Shell |
#!/bin/bash
#################################################################################################################
# Usage:
# ./genlog
# Note:
# extract syslog from disk
#
# BUGS:
# Forrest Y. Yu
# ... | Shell |
#!/bin/bash
while read line
do
kw=`echo $line | awk -F "[ ]" '{print $1}'`
if [ "$kw" == "digraph" ]; then
gname=`echo $line | awk -F "[ ]" '{print $2}'`
fname=$gname".dot"
pname=$gname".png"
echo $kw" "$gname
echo $line > $fname
while read line
do
if [ "$line" == "--separator--" ]; then
dot -Tp... | Shell |
#!/bin/bash
#################################################################################################################
# Usage:
# ./genlog
# Note:
# extract syslog from disk
#
# BUGS:
# Forrest Y. Yu
# ... | Shell |
#!/bin/bash
while read line
do
kw=`echo $line | awk -F "[ ]" '{print $1}'`
if [ "$kw" == "digraph" ]; then
gname=`echo $line | awk -F "[ ]" '{print $2}'`
fname=$gname".dot"
pname=$gname".png"
echo $kw" "$gname
echo $line > $fname
while read line
do
if [ "$line" == "--separator--" ]; then
dot -Tp... | Shell |
#!/bin/bash
#################################################################################################################
# Usage:
# ./genlog
# Note:
# extract syslog from disk
#
# BUGS:
# Forrest Y. Yu
# ... | Shell |
#!/bin/bash
while read line
do
kw=`echo $line | awk -F "[ ]" '{print $1}'`
if [ "$kw" == "digraph" ]; then
gname=`echo $line | awk -F "[ ]" '{print $2}'`
fname=$gname".dot"
pname=$gname".png"
echo $kw" "$gname
echo $line > $fname
while read line
do
if [ "$line" == "--separator--" ]; then
dot -Tp... | Shell |
#!/bin/bash
#################################################################################################################
# Usage:
# ./genlog
# Note:
# extract syslog from disk
#
# BUGS:
# Forrest Y. Yu
# ... | Shell |
#!/bin/bash
while read line
do
kw=`echo $line | awk -F "[ ]" '{print $1}'`
if [ "$kw" == "digraph" ]; then
gname=`echo $line | awk -F "[ ]" '{print $2}'`
fname=$gname".dot"
pname=$gname".png"
echo $kw" "$gname
echo $line > $fname
while read line
do
if [ "$line" == "--separator--" ]; then
dot -Tp... | Shell |
#!/bin/bash
#################################################################################################################
# Usage:
# ./genlog
# Note:
# extract syslog from disk
#
# BUGS:
# Forrest Y. Yu
# ... | Shell |
#!/bin/bash
while read line
do
kw=`echo $line | awk -F "[ ]" '{print $1}'`
if [ "$kw" == "digraph" ]; then
gname=`echo $line | awk -F "[ ]" '{print $2}'`
fname=$gname".dot"
pname=$gname".png"
echo $kw" "$gname
echo $line > $fname
while read line
do
if [ "$line" == "--separator--" ]; then
dot -Tp... | Shell |
#!/bin/bash
#################################################################################################################
# Usage:
# ./genlog
# Note:
# extract syslog from disk
#
# BUGS:
# Forrest Y. Yu
# ... | Shell |
#!/bin/bash
while read line
do
kw=`echo $line | awk -F "[ ]" '{print $1}'`
if [ "$kw" == "digraph" ]; then
gname=`echo $line | awk -F "[ ]" '{print $2}'`
fname=$gname".dot"
pname=$gname".png"
echo $kw" "$gname
echo $line > $fname
while read line
do
if [ "$line" == "--separator--" ]; then
dot -Tp... | Shell |
#!/bin/bash
#################################################################################################################
# Usage:
# ./genlog
# Note:
# extract syslog from disk
#
# BUGS:
# Forrest Y. Yu
# ... | Shell |
for file in `find . | grep "\.asm$"` ; do
iconv -f gbk -t utf8 $file > a;
mv a $file
done | Shell |
#!bin/sh
# invoke the extractrc script on all .ui, .rc, and .kcfg files in the sources
# the results are stored in a pseudo .cpp file to be picked up by xgettext.
$EXTRACTRC `find . -name \*.rc -o -name \*.ui -o -name \*.kcfg` >> rc.cpp
# tips-of-the-day
$PREPARETIPS > tips.cpp
# call xgettext on all source files. I... | Shell |
#!bin/sh
# invoke the extractrc script on all .ui, .rc, and .kcfg files in the sources
# the results are stored in a pseudo .cpp file to be picked up by xgettext.
$EXTRACTRC `find . -name \*.rc -o -name \*.ui -o -name \*.kcfg` >> rc.cpp
# tips-of-the-day
$PREPARETIPS > tips.cpp
# call xgettext on all source files. I... | Shell |
#!/bin/bash
for dir in `ls` ; do
if [ -e "${dir}/default.py" ] ; then
version=`awk -F '"' -- '/^__version__/ { print $2 }' "${dir}/default.py" `
files=`find -L ${dir} |grep -v \\.svn |grep -v \\.py[oc]\$`
zip ${dir}-${version}.zip ${files}
fi;
done
| Shell |
#!/bin/bash
for dir in `ls` ; do
if [ -e "${dir}/default.py" ] ; then
version=`awk -F '"' -- '/^__version__/ { print $2 }' "${dir}/default.py" `
files=`find -L ${dir} |grep -v \\.svn |grep -v \\.py[oc]\$`
zip ${dir}-${version}.zip ${files}
fi;
done
| Shell |
#!/bin/bash
for dir in `ls` ; do
if [ -e "${dir}/default.py" ] ; then
version=`awk -F '"' -- '/^__version__/ { print $2 }' "${dir}/default.py" `
files=`find ${dir} |grep -v \\.svn |grep -v \\.py[oc]\$`
zip ${dir}-${version}.zip ${files}
fi;
done
| Shell |
#!/bin/bash
for dir in `ls` ; do
if [ -e "${dir}/default.py" ] ; then
version=`awk -F '"' -- '/^__version__/ { print $2 }' "${dir}/default.py" `
files=`find ${dir} |grep -v \\.svn |grep -v \\.py[oc]\$`
zip ${dir}-${version}.zip ${files}
fi;
done
| Shell |
#!/bin/sh
get_current_version() {
CUR_VER=$(grep '^<addon' "$1"|sed -e 's/^\(.*[[:space:]]*version="\)\([0-9.]*\)\(".*\)$/\2/g')
echo $CUR_VER
}
set_new_version() {
CUR_VER=$(get_current_version "$1")
echo "File: $1, oldVer: $CUR_VER"
if test $# -ge 2; then
NEW_VER="$2"
else
VER... | Shell |
#!/bin/bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
# PHP versions 4 and 5
#
# CakePHP(tm) : Rapid Development Framework <http://www.cakephp.org/>
# Copyright 2005-2007, Cake Software Foundation, Inc.
# 1785 E. ... | Shell |
#!/bin/bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
# PHP versions 4 and 5
#
# CakePHP(tm) : Rapid Development Framework <http://www.cakephp.org/>
# Copyright 2005-2007, Cake Software Foundation, Inc.
# 1785 E. ... | Shell |
#!/bin/bash
################################################################################
#
# Bake is a shell script for running CakePHP bake script
# PHP versions 4 and 5
#
# CakePHP(tm) : Rapid Development Framework <http://www.cakephp.org/>
# Copyright 2005-2007, Cake Software Foundation, Inc.
# 1785 E. ... | Shell |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.