diff options
Diffstat (limited to 'regress/usr.bin/make')
-rw-r--r-- | regress/usr.bin/make/mk11 | 13 | ||||
-rw-r--r-- | regress/usr.bin/make/t11.out | 1 | ||||
-rw-r--r-- | regress/usr.bin/make/t11.out2 | 1 |
3 files changed, 10 insertions, 5 deletions
diff --git a/regress/usr.bin/make/mk11 b/regress/usr.bin/make/mk11 index e8277ba2783..b6f659eba8f 100644 --- a/regress/usr.bin/make/mk11 +++ b/regress/usr.bin/make/mk11 @@ -1,8 +1,9 @@ -# $OpenBSD: mk11,v 1.1 2001/05/15 13:40:02 espie Exp $ +# $OpenBSD: mk11,v 1.2 2001/09/07 12:35:19 espie Exp $ V=text A= +B=zoinx42->=hop a: # we want empty substitutions to work correctly @@ -16,7 +17,9 @@ a: @echo ${V:C/^${A}/1/} @echo ${V:C/${A}$/1/} # and with substituted text... - @echo ${V:C/^$A/1\&/} - @echo ${V:C/$A$/1\&/} - @echo ${V:C/^${A}/1\&/} - @echo ${V:C/${A}$/1\&/} + @echo ${V:C/^$A/1&/} + @echo ${V:C/$A$/1&/} + @echo ${V:C/^${A}/1&/} + @echo ${V:C/${A}$/1&/} +# Yet another check + @echo "${B:C/([a-z]*)/\1&/}" diff --git a/regress/usr.bin/make/t11.out b/regress/usr.bin/make/t11.out index 97282a275ef..6407cb90044 100644 --- a/regress/usr.bin/make/t11.out +++ b/regress/usr.bin/make/t11.out @@ -10,3 +10,4 @@ text1 text1 1text text1 +zoinxzoinx42->=hop diff --git a/regress/usr.bin/make/t11.out2 b/regress/usr.bin/make/t11.out2 index a7f2bdc578e..d14246b7d81 100644 --- a/regress/usr.bin/make/t11.out2 +++ b/regress/usr.bin/make/t11.out2 @@ -10,3 +10,4 @@ tex1 tex1t 1text tex1t +zoinxzoinx42->=hop |