/src/bin/sh/ |
mkinit.sh | 67 backslash='\\' 69 if [ "$var" = "${var%$backslash}" ] 72 backslash='\' 73 if [ "$var" = "${var%$backslash}" ] 82 if [ "$var" != "${var%$backslash}" ] 143 [ "$line" = "${line%$backslash}" ] || continue
|
show.c | 1005 case '\n': c = 'n'; goto backslash; 1006 case '\t': c = 't'; goto backslash; 1007 case '\r': c = 'r'; goto backslash; 1008 case '"': c = '"'; goto backslash; 1009 case '\\': c = '\\'; goto backslash; 1010 case CTLESC: c = 'e'; goto backslash; 1011 case CTLVAR: c = 'v'; goto backslash; 1012 case CTLVAR+CTLQUOTE: c = 'V'; goto backslash; 1013 case CTLBACKQ: c = 'q'; goto backslash; 1014 case CTLBACKQ+CTLQUOTE: c = 'Q'; goto backslash; [all...] |
/src/sys/arch/ia64/stand/common/ |
interp_backslash.c | 16 * Routine for doing backslash elimination. 31 * backslash: Return malloc'd copy of str with all standard "backslash 35 backslash(char *str) function in typeref:typename:char * 165 * The final character was a '\'. Put it in as a single backslash.
|
/src/usr.bin/make/unit-tests/ |
escape.mk | 3 # Test backslash escaping. 11 # When an escaped <newline> (one preceded by a <backslash>) is found 18 # makefile, the command line shall contain the <backslash>, the 26 # Notice that the behaviour of <backslash><backslash> or 27 # <backslash><anything other than newline> is not mentioned. I think 28 # this implies that <backslash> should be taken literally everywhere 50 # Backslash at end of line in a comment\ 58 # Embedded backslash in variable should be taken literally. 65 VAR1BSc= 111\# backslash escapes comment char, so this is part of the valu [all...] |
opt-file.mk | 9 all: file-ending-in-backslash 10 all: file-ending-in-backslash-mmap 17 # In the unlikely case where a file ends in a backslash instead of a newline, 18 # that backslash is trimmed. See ReadLowLevelLine. 40 file-ending-in-backslash: .PHONY 48 file-ending-in-backslash-mmap: .PHONY 49 @printf '%s' 'VAR=value\' > opt-file-backslash 50 @${MAKE} -r -f opt-file-backslash -V VAR 51 @rm opt-file-backslash
|
unexport.mk | 12 # was not reachable though. At that point, backslash-newline has already
|
char-005c-reverse-solidus.exp | 2 while evaluating variable "BACKSLASH" with value "" 4 while evaluating variable "BACKSLASH" with value "" 6 while evaluating variable "BACKSLASH" with value "" 7 make: char-005c-reverse-solidus.mk:100: Unfinished backslash at the end in pattern "\" of modifier ":M" 8 while evaluating variable "BACKSLASH" with value "\" 10 while evaluating variable "BACKSLASH" with value ""
|
char-005c-reverse-solidus.mk | 23 # This backslash is treated as a line continuation. 42 # The simplest was to produce a single backslash is the :U modifier. 43 BACKSLASH= ${:U\\} 44 .if ${BACKSLASH} != "\\" 55 # match the single backslash. 56 # expect: while evaluating variable "BACKSLASH" with value "" 57 .if ${BACKSLASH:Mx\} 64 .if ${BACKSLASH:Mx\\} 71 .if ${BACKSLASH:Mx\\\\\\\\} 77 # Adding more text after the backslash adds to the pattern, as the backslas [all...] |
varname-dot-newline.exp | 11 backslash newline: <\
|
varmod-edge.mk | 92 # The first backslash does not escape the second backslash. 93 # Therefore, the second backslash escapes the parenthesis. 97 # If the first backslash were to escape the second backslash, the first 100 # After that, the remaining backslash would escape the parenthesis in 105 #EXP= (} # If the first backslash were to escape ... 110 # The backslash in \( does not escape the parenthesis, therefore it 124 # The double backslash is passed verbatim to the pattern matcher. 125 # The Str_Match pattern is \\(:M*}, and there the backslash is unescaped [all...] |
varname-dot-newline.mk | 10 # > shall contain the <backslash>, the <newline>, and the next line, except 42 @echo 'backslash newline: <${BACKSLASH_NEWLINE}>'
|
varmod-match-escape.mk | 5 # first backslash or not. See ParseModifier_Match, "copy = true". 61 # is a single backslash. 62 # expect+1: Unfinished backslash at the end in pattern "\" of modifier ":M" 70 # expect+1: Unfinished backslash at the end in pattern "\" of modifier ":M" 117 # In brackets, the backslash is just an ordinary character.
|
cond-token-plain.mk | 23 # To get a '#' into a condition, it has to be escaped using a backslash. 168 # and in that context, the backslash is just an ordinary character. The 179 ${:U\\\\}= backslash 270 # A trailing backslash in a bare word does not escape anything. 271 # expect+1: Unfinished backslash escape sequence 278 # A trailing backslash in an unfinished string literal word does not escape 280 # expect+2: Unfinished backslash escape sequence
|
escape.exp | 7 VAR1BSc=:111# backslash escapes comment char, so this is part of the value: 69 echo :'command ending with backslash-newline'; \ 71 :command ending with backslash-newline
|
varmod-loop.mk | 234 # expect: : backslash=\ end 235 : ${:U1:@i@ backslash=\ end@} 237 # expect: : dollar=$ at=@ backslash=\ end 238 : ${:U1:@i@ dollar=\$\$ at=\@ backslash=\\ end@} 239 # expect: : dollar=$$ at=@@ backslash=\\ end 240 : ${:U1:@i@ dollar=\$\$\$\$ at=\@\@ backslash=\\\\ end@} 241 # expect: : dollar=$$ at=@@ backslash=\\ end 242 : ${:U1:@i@ dollar=$$$$ at=\@\@ backslash=\\\\ end@}
|
varmod-undefined.mk | 45 # In the :U modifier, the backslash only escapes very few characters, all 48 # In condition string literals, the backslash always escapes the following
|
directive-for-errors.mk | 42 ${:U\\}= backslash # see whether the "variable" '\' is local 45 . info Dollar $$ ${$} $($) and backslash $\ ${\} $(\).
|
opt-debug-errors-jobs.mk | 32 # backslash are preserved and are usually outside a shell word and thus
|
opt-debug-errors.mk | 36 # backslash are preserved and are usually outside a shell word and thus
|
cond-func-exists.mk | 21 # neither the backslash nor the dollar sign act as escape character.
|
varmod-match-escape.exp | 36 make: varmod-match-escape.mk:63: Unfinished backslash at the end in pattern "\" of modifier ":M" 40 make: varmod-match-escape.mk:71: Unfinished backslash at the end in pattern "\" of modifier ":M"
|
varmod-match.mk | 63 # Ensure that the fast code path correctly handles the backslash. 140 # [\] matches a single backslash; no escaping takes place in 142 # Without the 'b' in the below words, the backslash would end a word and thus 240 # interpreted as a backslash followed by whatever expression the 332 # A word can only end with a backslash if the preceding 333 # character is a backslash as well; in all other cases the final 334 # backslash would escape the following space, making the space
|
directive-ifmake.mk | 98 # a bare word, there is no escaping mechanism so the backslash passes through. 108 # implemented in ParseDependencyTargetWord, the additional backslash is never
|
/src/usr.bin/tr/ |
str.c | 63 static int backslash(STR *); 122 s->lastch = backslash(s); 313 s->equiv[0] = backslash(s); 339 stopval = s->str[0] == '\\' ? backslash(s) : (unsigned char)*s->str++; 360 s->lastch = backslash(s); 371 s->cnt = backslash(s); 397 backslash(STR *s) function in typeref:typename:int
|
/src/usr.sbin/makemandb/ |
makemandb.c | 1997 const char *backslash, *last_backslash; local in function:parse_escape 2004 backslash = strchr(str, '\\'); 2005 if (backslash == NULL) { 2015 len = backslash - last_backslash; 2018 if (backslash[1] == '-' || backslash[1] == ' ') { 2019 *iter++ = backslash[1]; 2020 last_backslash = backslash + 2; 2021 backslash = strchr(last_backslash, '\\'); 2023 ++backslash; [all...] |