From 7f24ef0e5ba2df0737db75a7670fe17c03861b4e Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Sun, 3 Jun 2012 23:14:28 -0300 Subject: [PATCH] b2/test/subesc: more tests; also for values; add explanation of escaping --- b2/test/subesc | 103 ++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 98 insertions(+), 5 deletions(-) diff --git a/b2/test/subesc b/b2/test/subesc index 2d38362..9155589 100755 --- a/b2/test/subesc +++ b/b2/test/subesc @@ -1,9 +1,23 @@ #!/bin/bash . ./Common +# +# Note that we have to escape things for the shell as well. In general, +# for any character C, \C becomes C. However, in the case of <