Skip to content

Commit fcdcf13

Browse files
Get rid of GNU-ism \b
1 parent f2a8d30 commit fcdcf13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/regression/56-witness/strip-ghost-alloc.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,4 @@ if [ -z "$var1" ] || [ -z "$var2" ]; then
2424
fi
2525

2626
# Rename variables and print the modified file to stdout
27-
sed -e "s/\b$var1\b/ALLOC_VAR1_LOCKED/g" -e "s/\b$var2\b/ALLOC_VAR2_LOCKED/g" "$file"
27+
sed -e "s/$var1/ALLOC_VAR1_LOCKED/g" -e "s/$var2/ALLOC_VAR2_LOCKED/g" "$file"

0 commit comments

Comments
 (0)