changeset 11:3af263aed951

cleanups in sed variant
author meillo@marmaro.de
date Sat, 09 Jun 2007 00:26:35 +0200 (2007-06-08)
parents 9a85a9924834
children 91f3e84482fa
files graph_sed.sh
diffstat 1 files changed, 1 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/graph_sed.sh	Sat Jun 09 00:13:23 2007 +0200
+++ b/graph_sed.sh	Sat Jun 09 00:26:35 2007 +0200
@@ -35,16 +35,6 @@
     file=/tmp/`basename $0`-$$
     file2=/tmp/`basename $0`-$$-2
 
-#    # collect all profil names (we only want them as nodes)
-#    cat $file | while read line ; do
-#      echo -n "`echo $line | grep "Profil von:" | awk '{print " " $3 " "}'`" >> $file2
-#    done
-#    echo >> $file2
-
-
-# TODO: fetch only edges for people having a profile
-
-    # output
     
     sed -n -e ' 
       /^Profil/{
@@ -73,6 +63,7 @@
     echo "}"
 
 #    rm $file $file2
+    rm /tmp/aa /tmp/bb
     exit 0
 
   fi