summaryrefslogtreecommitdiffstats
path: root/bin/sh/expand.h
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2014-12-21 22:18:30 +0000
committerjilles <jilles@FreeBSD.org>2014-12-21 22:18:30 +0000
commitffe29740d4971390457d911c48e446936d72eccb (patch)
tree58b671fb9f80928d9b82e69c650eea6e73141b99 /bin/sh/expand.h
parent3950b58647fa24897f7a2e6c02d55ec27e458c13 (diff)
downloadFreeBSD-src-ffe29740d4971390457d911c48e446936d72eccb.zip
FreeBSD-src-ffe29740d4971390457d911c48e446936d72eccb.tar.gz
sh: Remove EXP_REDIR.
EXP_REDIR was supposed to generate pathnames in redirection if exactly one file matches, as permitted but not required by POSIX in interactive mode. It is unlikely this will be implemented. No functional change is intended. MFC after: 1 week
Diffstat (limited to 'bin/sh/expand.h')
-rw-r--r--bin/sh/expand.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/bin/sh/expand.h b/bin/sh/expand.h
index 7495a63..93c80f3 100644
--- a/bin/sh/expand.h
+++ b/bin/sh/expand.h
@@ -50,7 +50,6 @@ struct arglist {
#define EXP_FULL 0x1 /* perform word splitting & file globbing */
#define EXP_TILDE 0x2 /* do normal tilde expansion */
#define EXP_VARTILDE 0x4 /* expand tildes in an assignment */
-#define EXP_REDIR 0x8 /* file glob for a redirection (1 match only) */
#define EXP_CASE 0x10 /* keeps quotes around for CASE pattern */
#define EXP_SPLIT_LIT 0x20 /* IFS split literal text ${v+-a b c} */
#define EXP_LIT_QUOTED 0x40 /* for EXP_SPLIT_LIT, start off quoted */
OpenPOWER on IntegriCloud