Home
last modified time | relevance | path

Searched refs:FMT_SHELL (Results 1 – 5 of 5) sorted by relevance

/illumos-gate/usr/src/contrib/ast/src/lib/libast/string/
H A Dfmtesc.c76 else if ((flags & FMT_SHELL) && qb[1] == 0) in fmtquote()
86 else if (flags & FMT_SHELL) in fmtquote()
199 else if (singlequote || (flags & FMT_SHELL)) in fmtquote()
202 …else if (!spaced && !escaped && (isspace(c) || ((flags & FMT_SHELL) || shell) && (strchr("\";~&|()… in fmtquote()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/port/
H A Dastconf.c1273 …quote) ? fmtquote(p->limit.string, "\"", "\"", strlen(p->limit.string), FMT_SHELL) : p->limit.stri… in print()
1280 …ote) ? fmtquote(p->minmax.string, "\"", "\"", strlen(p->minmax.string), FMT_SHELL) : p->minmax.str… in print()
1289 …sfprintf(sp, "%s", (listflags & ASTCONF_quote) ? fmtquote(s, "\"", "\"", strlen(s), FMT_SHELL) : s… in print()
1319 …sfprintf(sp, "%s", (listflags & ASTCONF_quote) ? fmtquote(s, "\"", "\"", strlen(s), FMT_SHELL) : s… in print()
1669 …ntf(sp, "%s=%s\n", f, (flags & ASTCONF_quote) ? fmtquote(s, "\"", "\"", strlen(s), FMT_SHELL) : s); in astconflist()
1715 … & ASTCONF_lower) ? fmtlower(fp->name) : fp->name, fmtquote(s, "\"", "\"", strlen(s), FMT_SHELL)); in astconflist()
1717 …fp->name) : fp->name, (flags & ASTCONF_quote) ? fmtquote(s, "\"", "\"", strlen(s), FMT_SHELL) : s); in astconflist()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/include/
H A Dast.h163 #define FMT_SHELL 0x04 /* escape $ ` too */ macro
/illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/
H A Dmime.c617 sfputr(mp->buf, fmtquote(v, 0, 0, n, FMT_SHELL), -1); in expand()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/
H A DRELEASE528 string/fmtesc.c: add unadvertized FMT_PARM for FMT_SHELL
529 05-09-09 string/fmtesc.c: fix FMT_SHELL logic w.r.t. [$`]
701 03-10-09 string/fmtesc.c: fix FMT_SHELL to check for all shell magic chars
851 03-02-06 include/ast.h,fmtquote.c: add FMT_ALWAYS|FMT_ESCAPED|FMT_SHELL|FMT_WIDE