From ac59a0c5cd4a2de80842186c8dd22ff48fe29da8 Mon Sep 17 00:00:00 2001 From: tegge Date: Sun, 6 Sep 1998 21:13:09 +0000 Subject: Better handling of word splitting. Don't record the same region multiple times when performing nested variable expansion, and preserve some quoting information in order to avoid removing apparently empty expansion result. --- bin/sh/expand.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bin/sh/expand.h') diff --git a/bin/sh/expand.h b/bin/sh/expand.h index 1cb7c90..5212518 100644 --- a/bin/sh/expand.h +++ b/bin/sh/expand.h @@ -34,7 +34,7 @@ * SUCH DAMAGE. * * @(#)expand.h 8.2 (Berkeley) 5/4/95 - * $Id$ + * $Id: expand.h,v 1.5 1997/02/22 13:58:26 peter Exp $ */ struct strlist { @@ -64,4 +64,6 @@ void expandarg __P((union node *, struct arglist *, int)); void expari __P((int)); int patmatch __P((char *, char *)); void rmescapes __P((char *)); +void rmquotes0 __P((char *)); +int rmquotes __P((char *, int)); int casematch __P((union node *, char *)); -- cgit v1.1