commit 0af8817619eddb93481bdf5fe7b1c1e75f9ca550
parent ba3fcf36ee0f06e80cb807d7d0e39d69b5e0eef6
Author: Jan Dankert <devnull@localhost>
Date: Fri, 12 Jan 2018 23:14:58 +0100
Nicht mehr benötigte Dateien.
Diffstat:
4 files changed, 0 insertions(+), 127 deletions(-)
diff --git a/doc/examples/maintenance/compact.sh b/doc/examples/maintenance/compact.sh
@@ -1,54 +0,0 @@
-#!/bin/bash
-#
-# This script minimizes the OpenRat Installation. It
-# - minimizes CSS files while removing all whitespace
-# - minimizes PHP files
-# - deletes directories which are only for development
-#
-# The whole installation is copied to a new subdirectory
-# named 'compact'.
-#
-# Usage:
-# Call 'compact.sh' in the openrat installation directory
-
-minimize_php() {
- #cat $1 | sed -e 's/\/\/.*$//g' | tr -d \\t | tr -d \\r | tr -d \\n | sed -e 's/\/\*.*\*\///g' > $1
- cat $1 | sed -e 's/\/\/.*$//g' | tr -d \\t | tr -d \\r > $1
-}
-
-
-minimize_css() {
- cat $1 | tr -d \\n | tr -d [:blank:] > $1
-}
-
-if [ ! -d themes/default/pages ]; then
- echo "not an openrat directory. please execute this script in openrat program directory"
- exit 4
-fi
-
-if [ -d compact ]; then
- echo "please delete compact-dir"
- exit 4
-fi
-
-mkdir compact
-
-cp -r * compact
-cd compact
-
-rm -r themes/default/templates
-rm -r themes/default/include
-
-for i in `find -name "*.php"`; do
- minimize_php $i
-done
-
-for i in `find -name *.css`; do
- minimize_css $i
-done
-
-cd ..
-
-exit 0
-
-
diff --git a/doc/examples/maintenance/compare-lang.sh b/doc/examples/maintenance/compare-lang.sh
@@ -1,38 +0,0 @@
-#!/bin/sh
-# Sorting the language file in alphabetic order
-
-if [ ! -f $1 ]; then
- echo ""
- echo "usage: $0 <filename> <filename>"
- echo ""
- echo "This script prints out the language element of file 1 which are not in file 2."
- echo ""
- exit
-fi
-
-if [ ! -r $1 ]; then
- echo "$1 is not readable"
- exit
-fi
-
-if [ ! -r $2 ]; then
- echo "$2 is not readable"
- exit
-fi
-
-cat $1|egrep "^;" -v|while read line
-do
- #echo "Zeile: $line"
- anfline=`echo $line|cut --delimiter== -f 1`
- #echo "Key: $anfline" # Output the line itself.
- #echo Hat `cat $2|egrep "$anfline\\s?="`
- count=`cat $2|egrep "^$anfline\\\\s?="|wc -l`
- #echo "Count=$count"
- if [ $count -eq "0" ]; then
- echo $line
- #echo ";not in $2: $anfline"
- fi
-
-done
-
-
diff --git a/doc/examples/maintenance/sort-lang.sh b/doc/examples/maintenance/sort-lang.sh
@@ -1,22 +0,0 @@
-#!/bin/sh
-# Sorting the language file in alphabetic order
-
-if [ ! -f $1 ]; then
- echo ""
- echo "usage: $0 <filename>"
- echo ""
- echo "This script is sorting a Openrat language file in alphabetic order."
- echo "Just give it the filename of the language file and it puts the sorted file on stdout."
- echo ""
- exit
-fi
-
-if [ ! -r $1 ]; then
- echo "$1 is not readable"
- exit
-fi
-
-cat $1|grep "^;"
-cat $1|grep "^;" -v|sort
-
-
diff --git a/doc/orml.ebnf.txt b/doc/orml.ebnf.txt
@@ -1,13 +0,0 @@
-document = line { newline line };
-line = indent* tag { ' ' attribute [ ':' namespace ] ':' value};
-indent = ' ';
-tag = letter alphanum+;
-attribute = letter alphanum+;
-namespace = 'var' | 'text' | 'method' | 'size' | 'property' | 'arrayvar' | 'messagevar' | 'message' | 'config' | '';
-value = 'true' | 'false' | alphanum+;
-alphanum = letter | digit | '_'
-letter = 'a' | 'b' | 'c' | 'd' | 'e' | 'f' | 'g' | 'h' | 'i' | 'j' | 'k' | 'l' | 'm' |
- 'n' | 'o' | 'p' | 'q' | 'r' | 's' | 't' | 'u' | 'v' | 'w' | 'x' | 'y' | 'z';
-digit = '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9';
-newline = { ? IS0 6429 character Carriage Return ? } ;
-tab = ? IS0 6429 character Horizontal Tabulation ? ;