diff options
author | beber <beber> | 2005-10-13 11:37:08 +0000 |
---|---|---|
committer | beber <beber> | 2005-10-13 11:37:08 +0000 |
commit | b91dd3b38b005b4169a100ba2a627e4b745b9b4a (patch) | |
tree | c8dae242bf191cb1e707befcde4d63b5343dad55 | |
parent | (no commit message) (diff) | |
download | espik-b91dd3b38b005b4169a100ba2a627e4b745b9b4a.tar.xz |
Grrrr !!
Diffstat (limited to '')
-rw-r--r-- | ChangeLog | 34 | ||||
-rw-r--r-- | sh/eci.sh | 6 |
2 files changed, 37 insertions, 3 deletions
@@ -85,3 +85,37 @@ M sh/eci.sh File changes : M sh/eci.sh + + from FT-DYOQYGD9HQ8B : 13/10/05 13:32:12 + + +File changes : +M sh/eci.sh + + from FT-DYOQYGD9HQ8B : 13/10/05 13:32:39 + + +File changes : +M ChangeLog +M sh/eci.sh + + from FT-DYOQYGD9HQ8B : 13/10/05 13:33:28 + + +File changes : +M ChangeLog +M sh/eci.sh + + from FT-DYOQYGD9HQ8B : 13/10/05 13:35:23 +move to bash + +File changes : +M ChangeLog +M sh/eci.sh + + from FT-DYOQYGD9HQ8B : 13/10/05 13:36:49 +Grrrr !! + +File changes : +M ChangeLog +M sh/eci.sh @@ -1,4 +1,4 @@ -#!/bin/sh -x +#!/bin/bash TMPFILE="/tmp/.eci.$RANDOM" @@ -19,7 +19,7 @@ $EDITOR $TMPFILE SUM_NEW=$(cksum $TMPFILE | awk '{print $1}') -if [[ ${SUM_ORI} -eq ${SUM_NEW} ]]; then +if [ "${SUM_ORI}" = "${SUM_NEW}" ]; then echo "Enter something !" rm -f $TMPFILE exit -1 @@ -29,7 +29,7 @@ DELCOMMENTFROM=$(grep -n -- '--This line and thoses under will be ignored--' $TM head -n $(($DELCOMMENTFROM-1)) $TMPFILE > ${TMPFILE}.send echo " -$USER from $(if [[ `uname -o` = "Cygwin" ]]; then hostname; else hostname -f; fi) : $(date "+%d/%m/%y %X") +$USER from $(if [ `uname -o` = "Cygwin" ]; then hostname; else hostname -f; fi) : $(date "+%d/%m/%y %X") $(cat ${TMPFILE}.send) File changes : |