Debian Codegraph @

MagickWand/tests/script-token-test-data.txt

raw
1 #
2 # Comments should be ignored
3 #
4 : Shell script launcher comment ignore
5 @ DOS script launcher comment ignore
6
7
8 -option key # end of line comment
9 +reset imbedded#hash # <- not a comment, thought this is
10
11 This\ is' a 'single" token"
12
13 And\\\ \''even '\'\""more \""complex
14
15 "Backslash chars \n are returned as is"
16 'regardless \n of quoting'
17
18 'Single quote escapes'
19 \' "'"
20
21 "Double quote escapes"
22 \" '"' "\""
23
24 Back\ slash\ escapes
25 \\ '\' "\\" # NOTE that backslash in single quotes are literal!
26
27 'Space Character Escapes'
28 \ ' ' " "
29
30 'Empty Tokens, using quotes'
31 '' ""
32
33 "Unicode characters are handled"
34 "° ' ² ³ ` ´"
35 "µ ¶ ⨀ ⨁ ⨂"
36 测试用的汉字
37
38 Line__\
39 __Continuation
40
41 "Double_Quoted_Line__\
42 __Continuation"
43
44 'Single_Quoted_Line__\
45 __Continuation_NOT!'
46
47 "double_quoted_newlines__
48 __are_part_of_token"
49
50 'single_quoted_newlines__
51 __are_part_of_token'
52
53 "Last Token before EOF"
54
55