From c0cc96c4aa3fca16d7b3d2df8d67708ae985f42f Mon Sep 17 00:00:00 2001 From: Romulo Pinho Date: Wed, 9 May 2012 15:14:02 +0200 Subject: [PATCH] further corrections in 4D mhd creation --- scripts/create_mhd_4D.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/create_mhd_4D.sh b/scripts/create_mhd_4D.sh index 72c7728..70e21bb 100755 --- a/scripts/create_mhd_4D.sh +++ b/scripts/create_mhd_4D.sh @@ -103,7 +103,7 @@ do fi nbph=`find $1 -maxdepth 1 -iname "*${prefix}*[0-9]*${suffix}*.mhd" | wc -l` orig=`find $1 -maxdepth 1 -iname "*${prefix}*[0-9]*${suffix}*.mhd" | sort | head -n 1` - listph=`find $1 -maxdepth 1 -iregex ".*${prefix}.*[0-9].*${suffix}.*.z*raw" | sort` + listph=`find $1 -maxdepth 1 -iname ".*${prefix}.*[0-9].*${suffix}.*.*raw" -iregex ".*.z*raw" | sort` file_name_4D="${prefix}4D${suffix}.mhd" -- 2.45.1