From dd36e32da4e77b7f5e07873acab217f1d86c972c Mon Sep 17 00:00:00 2001 From: Hamidreza Date: Wed, 30 Apr 2025 08:31:19 +0330 Subject: [PATCH] readmd.md update3 --- .github/workflows/sync-wiki.yml | 10 +++++----- benchmarks/rotatingDrum/readme.md | 1 - 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/sync-wiki.yml b/.github/workflows/sync-wiki.yml index dbc773b4..8705d2e9 100644 --- a/.github/workflows/sync-wiki.yml +++ b/.github/workflows/sync-wiki.yml @@ -129,28 +129,28 @@ PERLSCRIPT # Process content with the perl script cat "$temp_file" | perl "$perl_script" > "${temp_file}.new" content=$(cat "${temp_file}.new") - + # Clean up temporary files rm "$temp_file" "${temp_file}.new" "$perl_script" - + # Now copy all the images referenced in HTML tags for img_src in $(grep -o ']*src="[^"]*"' "./$rel_path" | sed -E 's/.*src="([^"]*)".*/\1/'); do # Skip URLs if [[ $img_src == http* ]]; then continue fi - + # Determine the absolute path of the image if [[ $img_src == /* ]]; then abs_img_path="./$img_src" else abs_img_path="$base_dir/$img_src" fi - + # Extract just the filename img_filename=$(basename "$img_src") wiki_img_path="images/$img_filename" - + # Copy the image to wiki repository if it exists if [ -f "$abs_img_path" ]; then echo "Copying image: $abs_img_path -> ./wiki/$wiki_img_path" diff --git a/benchmarks/rotatingDrum/readme.md b/benchmarks/rotatingDrum/readme.md index 7476acfb..12c36fab 100644 --- a/benchmarks/rotatingDrum/readme.md +++ b/benchmarks/rotatingDrum/readme.md @@ -13,7 +13,6 @@ This benchmark compares the performance of phasicFlow with a well-stablished com -