summaryrefslogtreecommitdiffstats
path: root/bin/sh/expand.h
diff options
context:
space:
mode:
authortegge <tegge@FreeBSD.org>1998-09-06 21:13:09 +0000
committertegge <tegge@FreeBSD.org>1998-09-06 21:13:09 +0000
commitac59a0c5cd4a2de80842186c8dd22ff48fe29da8 (patch)
treedda84e744f853179b31c4cd9bfa1676a63fa9c1e /bin/sh/expand.h
parent59e6a57bc195e6145db20a1292466fa6df067e24 (diff)
downloadFreeBSD-src-ac59a0c5cd4a2de80842186c8dd22ff48fe29da8.zip
FreeBSD-src-ac59a0c5cd4a2de80842186c8dd22ff48fe29da8.tar.gz
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.
Diffstat (limited to 'bin/sh/expand.h')
-rw-r--r--bin/sh/expand.h4
1 files changed, 3 insertions, 1 deletions
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 *));
OpenPOWER on IntegriCloud