Skip to content
Snippets Groups Projects
Commit c49e0bce authored by Fabian Nuraddin Alexander Gabel's avatar Fabian Nuraddin Alexander Gabel :speech_balloon:
Browse files

change sed separator

parent 54dc6748
No related branches found
No related tags found
No related merge requests found
Pipeline #104064 failed
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
echo "Replacing working group keys..." echo "Replacing working group keys..."
for wg in {aa,cm,dm,nm,st} for wg in {aa,cm,dm,nm,st}
do do
fullname=`wget -qO- $baseurl/forschung/$wg | grep h1 | sed -e "s/<h1>\s*\(.*\)<\/h1>.*$/\1/g" | sed -e 's/^[ \t]*//'` fullname=`wget -qO- $baseurl/forschung/$wg | grep h1 | sed -e "s;<h1>\s*\(.*\)</h1>.*$;\1;g" | sed -e 's;^[ \t]*;;'`
echo "Found working group $fullname" echo "Found working group $fullname"
sed -i "s;### Working Groups:\(.*\)$wg\(.*\);### Working Groups:\1\[$fullname\]($baseurl/forschung/$wg)\2;g" $build_dir/$filename sed -i "s;### Working Groups:\(.*\)$wg\(.*\);### Working Groups:\1\[$fullname\]($baseurl/forschung/$wg)\2;g" $build_dir/$filename
done done
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment