--- psiconv/trunk/formats/html_links.sh 2004/02/02 20:43:04 192 +++ psiconv/trunk/formats/html_links.sh 2004/02/02 21:56:48 193 @@ -10,7 +10,7 @@ { while read file lineno name; do command="$command -e "\''s,\['"$name"'\],,g'\' - command="$command -e "\''s,«'"$name"'»,'"$name"',g'\' + command="$command -e "\''s,«'"$name"'»,'"$name"',g'\' done } < "$index_file" @@ -25,10 +25,8 @@ this_file_generate_headers=`echo $2 | sed 's,.*/,,' | sed 's,\..*$,,'` name_generate_headers=`grep "^$this_file_generate_headers" "$index_file_generate_headers" | head -1 | sed s,'^[^ ]* [^ ]* ,,'` - sed 's,,\ -\ -'"$name_generate_headers"'\ -,' + sed -e 's,.*,'"$name_generate_headers"',' \ + -e 's,.*,'"$name_generate_headers"',' }