Deprecated: Assigning the return value of new by reference is deprecated in /home/www/web535/html/dokuwiki/inc/parserutils.php on line 202

Deprecated: Assigning the return value of new by reference is deprecated in /home/www/web535/html/dokuwiki/inc/parserutils.php on line 205

Deprecated: Assigning the return value of new by reference is deprecated in /home/www/web535/html/dokuwiki/inc/parserutils.php on line 314

Deprecated: Assigning the return value of new by reference is deprecated in /home/www/web535/html/dokuwiki/inc/parserutils.php on line 454

Deprecated: Function split() is deprecated in /home/www/web535/html/dokuwiki/inc/auth.php on line 146

Warning: Cannot modify header information - headers already sent by (output started at /home/www/web535/html/dokuwiki/inc/parserutils.php:202) in /home/www/web535/html/dokuwiki/inc/auth.php on line 236

Warning: Cannot modify header information - headers already sent by (output started at /home/www/web535/html/dokuwiki/inc/parserutils.php:202) in /home/www/web535/html/dokuwiki/inc/actions.php on line 128
linux_scripts:changelog.sh [wiki.BerndLux.de]
 

Deprecated: Assigning the return value of new by reference is deprecated in /home/www/web535/html/dokuwiki/inc/parser/parser.php on line 66

Deprecated: Assigning the return value of new by reference is deprecated in /home/www/web535/html/dokuwiki/inc/parser/lexer.php on line 292

Deprecated: Assigning the return value of new by reference is deprecated in /home/www/web535/html/dokuwiki/inc/parser/handler.php on line 22

Deprecated: Assigning the return value of new by reference is deprecated in /home/www/web535/html/dokuwiki/inc/parser/handler.php on line 44

Deprecated: Assigning the return value of new by reference is deprecated in /home/www/web535/html/dokuwiki/inc/parser/handler.php on line 208

Deprecated: Assigning the return value of new by reference is deprecated in /home/www/web535/html/dokuwiki/inc/parser/handler.php on line 236

Deprecated: Assigning the return value of new by reference is deprecated in /home/www/web535/html/dokuwiki/inc/parser/handler.php on line 290

Deprecated: Assigning the return value of new by reference is deprecated in /home/www/web535/html/dokuwiki/inc/parser/handler.php on line 323

Deprecated: Assigning the return value of new by reference is deprecated in /home/www/web535/html/dokuwiki/inc/parser/handler.php on line 560

Deprecated: Function split() is deprecated in /home/www/web535/html/dokuwiki/inc/parser/lexer.php on line 510

Deprecated: Function split() is deprecated in /home/www/web535/html/dokuwiki/inc/parser/lexer.php on line 510

Deprecated: Function split() is deprecated in /home/www/web535/html/dokuwiki/inc/parser/lexer.php on line 510

Deprecated: Assigning the return value of new by reference is deprecated in /home/www/web535/html/dokuwiki/inc/parser/xhtml.php on line 980
#!/bin/bash
#
# AUTHOR: Bernd Luxenburger http :// berndlux . de
# Lizens: GPL
# 2006.11.13 12:30
# ein script um bei einem server eine changelog Ìnderungen zu fÌ# und mehere Admins zu koordinieren

 
# am besten in die /root/.bash_logout folgendes eintragen:
# (natÌ eine Spalte kommentarzeichen entfernen)
# #!/bin/bash
# #/root/.bash_logout
# # Logoff script auf Brandschlucker.de
#
# /root/bin/changelog.sh ;
# exit 0;

 
 
LOGFILE="/root/CHANGELOG";
 
 
 
echo "Progamm zum change-log erzeugen von Àerungen am System";
echo -n "Dein Namenskuerzel eingeben :";
read NAME;
 
function readchange() {
 
genug="false";
 
while [ ! $genug = "true" ]
 do
  echo -n "Eingabe :";
  read CHANGE;
 
 if [ "$CHANGE" = "." ]
  then
    echo
    echo
    echo "ist ja auch genug";
    genug="true"
    break
 fi
 
#  if [ -z $FILE ] ; then
#   echo "$FILE : $CHANGE" >> $LOGFILE;
#  else
   echo "$CHANGE" >> $LOGFILE;
#  fi 

done
 
}
 
echo ;
echo "Was hast du denn heute mir gemacht $NAME?";
echo "+ etwas dazu ";
echo "- etwas entfernt";
echo "* etwass neues oder anderes";
echo "! etwas Wichtiges, oder ein Problem gefunden?";
echo "? Etwas ungeklÀtertes gefunden?";
echo ;
echo "Eingabe wird durch  . beendet";
echo "denk bitte immer daran dateiname oder Pfad an dem ";
echo "du etwas geÀet hast anzugebenn";
echo ;
echo ;
DATUM=`date '+%y.%m.%d  %H:%M'`;
 
echo  >> $LOGFILE;
echo  >> $LOGFILE;
echo "== $NAME   $DATUM     ====" >> $LOGFILE;
echo  >> $LOGFILE;
 
if [ -n $1 ]
then
FILE="$1";
  echo "$FILE :" >> $LOGFILE;
fi
 
readchange;
 
 
exit 0;
 
linux_scripts/changelog.sh.txt · Zuletzt geändert: 2006/11/15 00:56 von bernd
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki