|
|
1.1 ! root 1: if echo 'a' | -s 'a'; then :; else echo '1 fails a ~ a' ; fi ! 2: if echo 'ba' | -s 'a'; then :; else echo '2 fails a ~ ba' ; fi ! 3: if echo 'bab' | -s 'a'; then :; else echo '3 fails a ~ bab' ; fi ! 4: if echo '' | -s 'a'; then echo '4 fails a !~ ' ;else :; fi ! 5: if echo 'x' | -s 'a'; then echo '5 fails a !~ x' ;else :; fi ! 6: if echo 'xxxxx' | -s 'a'; then echo '6 fails a !~ xxxxx' ;else :; fi ! 7: if echo 'x' | -s '.'; then :; else echo '7 fails . ~ x' ; fi ! 8: if echo 'xxx' | -s '.'; then :; else echo '8 fails . ~ xxx' ; fi ! 9: if echo '' | -s '.'; then echo '9 fails . !~ ' ;else :; fi ! 10: if echo 'xa' | -s '.a'; then :; else echo '10 fails .a ~ xa' ; fi ! 11: if echo 'xxa' | -s '.a'; then :; else echo '11 fails .a ~ xxa' ; fi ! 12: if echo 'xax' | -s '.a'; then :; else echo '12 fails .a ~ xax' ; fi ! 13: if echo 'a' | -s '.a'; then echo '13 fails .a !~ a' ;else :; fi ! 14: if echo 'ab' | -s '.a'; then echo '14 fails .a !~ ab' ;else :; fi ! 15: if echo '' | -s '.a'; then echo '15 fails .a !~ ' ;else :; fi ! 16: if echo 'x' | -s '$'; then :; else echo '16 fails $ ~ x' ; fi ! 17: if echo '' | -s '$'; then :; else echo '17 fails $ ~ ' ; fi ! 18: if echo 'x' | -s '.$'; then :; else echo '18 fails .$ ~ x' ; fi ! 19: if echo '' | -s '.$'; then echo '19 fails .$ !~ ' ;else :; fi ! 20: if echo 'a' | -s 'a$'; then :; else echo '20 fails a$ ~ a' ; fi ! 21: if echo 'ba' | -s 'a$'; then :; else echo '21 fails a$ ~ ba' ; fi ! 22: if echo 'bbba' | -s 'a$'; then :; else echo '22 fails a$ ~ bbba' ; fi ! 23: if echo 'ab' | -s 'a$'; then echo '23 fails a$ !~ ab' ;else :; fi ! 24: if echo 'x' | -s 'a$'; then echo '24 fails a$ !~ x' ;else :; fi ! 25: if echo '' | -s 'a$'; then echo '25 fails a$ !~ ' ;else :; fi ! 26: if echo 'x' | -s '^'; then :; else echo '26 fails ^ ~ x' ; fi ! 27: if echo '' | -s '^'; then :; else echo '27 fails ^ ~ ' ; fi ! 28: if echo '^' | -s '^'; then :; else echo '28 fails ^ ~ ^' ; fi ! 29: if echo 'a' | -s '^a$'; then :; else echo '29 fails ^a$ ~ a' ; fi ! 30: if echo 'xa' | -s '^a$'; then echo '30 fails ^a$ !~ xa' ;else :; fi ! 31: if echo 'ax' | -s '^a$'; then echo '31 fails ^a$ !~ ax' ;else :; fi ! 32: if echo 'xax' | -s '^a$'; then echo '32 fails ^a$ !~ xax' ;else :; fi ! 33: if echo '' | -s '^a$'; then echo '33 fails ^a$ !~ ' ;else :; fi ! 34: if echo 'ax' | -s '^a.$'; then :; else echo '34 fails ^a.$ ~ ax' ; fi ! 35: if echo 'aa' | -s '^a.$'; then :; else echo '35 fails ^a.$ ~ aa' ; fi ! 36: if echo 'xa' | -s '^a.$'; then echo '36 fails ^a.$ !~ xa' ;else :; fi ! 37: if echo 'aaa' | -s '^a.$'; then echo '37 fails ^a.$ !~ aaa' ;else :; fi ! 38: if echo 'axy' | -s '^a.$'; then echo '38 fails ^a.$ !~ axy' ;else :; fi ! 39: if echo '' | -s '^a.$'; then echo '39 fails ^a.$ !~ ' ;else :; fi ! 40: if echo '' | -s '^$'; then :; else echo '40 fails ^$ ~ ' ; fi ! 41: if echo 'x' | -s '^$'; then echo '41 fails ^$ !~ x' ;else :; fi ! 42: if echo '^' | -s '^$'; then echo '42 fails ^$ !~ ^' ;else :; fi ! 43: if echo 'xa' | -s '^.a'; then :; else echo '43 fails ^.a ~ xa' ; fi ! 44: if echo 'xaa' | -s '^.a'; then :; else echo '44 fails ^.a ~ xaa' ; fi ! 45: if echo 'a' | -s '^.a'; then echo '45 fails ^.a !~ a' ;else :; fi ! 46: if echo '' | -s '^.a'; then echo '46 fails ^.a !~ ' ;else :; fi ! 47: if echo 'a' | -s '^.*a'; then :; else echo '47 fails ^.*a ~ a' ; fi ! 48: if echo 'xa' | -s '^.*a'; then :; else echo '48 fails ^.*a ~ xa' ; fi ! 49: if echo 'xxxxxxa' | -s '^.*a'; then :; else echo '49 fails ^.*a ~ xxxxxxa' ; fi ! 50: if echo '' | -s '^.*a'; then echo '50 fails ^.*a !~ ' ;else :; fi ! 51: if echo 'xa' | -s '^.+a'; then :; else echo '51 fails ^.+a ~ xa' ; fi ! 52: if echo 'xxxxxxa' | -s '^.+a'; then :; else echo '52 fails ^.+a ~ xxxxxxa' ; fi ! 53: if echo '' | -s '^.+a'; then echo '53 fails ^.+a !~ ' ;else :; fi ! 54: if echo 'a' | -s '^.+a'; then echo '54 fails ^.+a !~ a' ;else :; fi ! 55: if echo 'ax' | -s '^.+a'; then echo '55 fails ^.+a !~ ax' ;else :; fi ! 56: if echo '' | -s 'a*'; then :; else echo '56 fails a* ~ ' ; fi ! 57: if echo 'a' | -s 'a*'; then :; else echo '57 fails a* ~ a' ; fi ! 58: if echo 'aaaa' | -s 'a*'; then :; else echo '58 fails a* ~ aaaa' ; fi ! 59: if echo 'xa' | -s 'a*'; then :; else echo '59 fails a* ~ xa' ; fi ! 60: if echo 'xxxx' | -s 'a*'; then :; else echo '60 fails a* ~ xxxx' ; fi ! 61: if echo 'a' | -s 'aa*'; then :; else echo '61 fails aa* ~ a' ; fi ! 62: if echo 'aaa' | -s 'aa*'; then :; else echo '62 fails aa* ~ aaa' ; fi ! 63: if echo 'xa' | -s 'aa*'; then :; else echo '63 fails aa* ~ xa' ; fi ! 64: if echo 'xxxx' | -s 'aa*'; then echo '64 fails aa* !~ xxxx' ;else :; fi ! 65: if echo '' | -s 'aa*'; then echo '65 fails aa* !~ ' ;else :; fi ! 66: if echo 'x$' | -s '\$'; then :; else echo '66 fails \$ ~ x$' ; fi ! 67: if echo '$' | -s '\$'; then :; else echo '67 fails \$ ~ $' ; fi ! 68: if echo '$x' | -s '\$'; then :; else echo '68 fails \$ ~ $x' ; fi ! 69: if echo '' | -s '\$'; then echo '69 fails \$ !~ ' ;else :; fi ! 70: if echo 'x' | -s '\$'; then echo '70 fails \$ !~ x' ;else :; fi ! 71: if echo '.' | -s '\.'; then :; else echo '71 fails \. ~ .' ; fi ! 72: if echo 'x' | -s '\.'; then echo '72 fails \. !~ x' ;else :; fi ! 73: if echo '' | -s '\.'; then echo '73 fails \. !~ ' ;else :; fi ! 74: if echo 'a^' | -G -s '.^$'; then :; else echo '74 fails -G .^$ ~ a^' ; fi ! 75: if echo '' | -G -s '.^$'; then echo '75 fails -G .^$ !~ ' ;else :; fi ! 76: if echo 'a^$' | -G -s '.^$'; then echo '76 fails -G .^$ !~ a^$' ;else :; fi ! 77: if echo 'x' | -G -s '^x$'; then :; else echo '77 fails -G ^x$ ~ x' ; fi ! 78: if echo 'yx' | -G -s '^x$'; then echo '78 fails -G ^x$ !~ yx' ;else :; fi ! 79: if echo 'xy' | -G -s '^x$'; then echo '79 fails -G ^x$ !~ xy' ;else :; fi ! 80: if echo 'a$' | -G -s 'a\$'; then :; else echo '80 fails -G a\$ ~ a$' ; fi ! 81: if echo 'a' | -G -s 'a\$'; then echo '81 fails -G a\$ !~ a' ;else :; fi ! 82: if echo 'cab' | -G -s '\(ab\)$'; then :; else echo '82 fails -G \(ab\)$ ~ cab' ; fi ! 83: if echo 'ab' | -G -s '\(ab\)$'; then :; else echo '83 fails -G \(ab\)$ ~ ab' ; fi ! 84: if echo 'ab$' | -G -s '\(ab\)$'; then echo '84 fails -G \(ab\)$ !~ ab$' ;else :; fi ! 85: if echo 'xry' | -s 'xr+y'; then :; else echo '85 fails xr+y ~ xry' ; fi ! 86: if echo 'xry' | -s 'xr+y'; then :; else echo '85 fails xr+y ~ xry' ; fi ! 87: if echo 'xrry' | -s 'xr+y'; then :; else echo '86 fails xr+y ~ xrry' ; fi ! 88: if echo 'xrry' | -s 'xr+y'; then :; else echo '86 fails xr+y ~ xrry' ; fi ! 89: if echo 'xrrrrrry' | -s 'xr+y'; then :; else echo '87 fails xr+y ~ xrrrrrry' ; fi ! 90: if echo 'xrrrrrry' | -s 'xr+y'; then :; else echo '87 fails xr+y ~ xrrrrrry' ; fi ! 91: if echo 'ry' | -s 'xr+y'; then echo '88 fails xr+y !~ ry' ;else :; fi ! 92: if echo 'ry' | -s 'xr+y'; then echo '88 fails xr+y !~ ry' ;else :; fi ! 93: if echo 'xy' | -s 'xr+y'; then echo '89 fails xr+y !~ xy' ;else :; fi ! 94: if echo 'xy' | -s 'xr+y'; then echo '89 fails xr+y !~ xy' ;else :; fi ! 95: if echo 'xy' | -s 'xr?y'; then :; else echo '90 fails xr?y ~ xy' ; fi ! 96: if echo 'xy' | -s 'xr?y'; then :; else echo '90 fails xr?y ~ xy' ; fi ! 97: if echo 'xry' | -s 'xr?y'; then :; else echo '91 fails xr?y ~ xry' ; fi ! 98: if echo 'xry' | -s 'xr?y'; then :; else echo '91 fails xr?y ~ xry' ; fi ! 99: if echo 'xrry' | -s 'xr?y'; then echo '92 fails xr?y !~ xrry' ;else :; fi ! 100: if echo 'xrry' | -s 'xr?y'; then echo '92 fails xr?y !~ xrry' ;else :; fi ! 101: if echo 'abcg' | -s 'a(bc|def)g'; then :; else echo '93 fails a(bc|def)g ~ abcg' ; fi ! 102: if echo 'abcg' | -s 'a(bc|def)g'; then :; else echo '93 fails a(bc|def)g ~ abcg' ; fi ! 103: if echo 'adefg' | -s 'a(bc|def)g'; then :; else echo '94 fails a(bc|def)g ~ adefg' ; fi ! 104: if echo 'adefg' | -s 'a(bc|def)g'; then :; else echo '94 fails a(bc|def)g ~ adefg' ; fi ! 105: if echo 'abc' | -s 'a(bc|def)g'; then echo '95 fails a(bc|def)g !~ abc' ;else :; fi ! 106: if echo 'abc' | -s 'a(bc|def)g'; then echo '95 fails a(bc|def)g !~ abc' ;else :; fi ! 107: if echo 'abg' | -s 'a(bc|def)g'; then echo '96 fails a(bc|def)g !~ abg' ;else :; fi ! 108: if echo 'abg' | -s 'a(bc|def)g'; then echo '96 fails a(bc|def)g !~ abg' ;else :; fi ! 109: if echo 'adef' | -s 'a(bc|def)g'; then echo '97 fails a(bc|def)g !~ adef' ;else :; fi ! 110: if echo 'adef' | -s 'a(bc|def)g'; then echo '97 fails a(bc|def)g !~ adef' ;else :; fi ! 111: if echo 'adeg' | -s 'a(bc|def)g'; then echo '98 fails a(bc|def)g !~ adeg' ;else :; fi ! 112: if echo 'adeg' | -s 'a(bc|def)g'; then echo '98 fails a(bc|def)g !~ adeg' ;else :; fi ! 113: if echo '1' | -s '[0-9]'; then :; else echo '99 fails [0-9] ~ 1' ; fi ! 114: if echo '567' | -s '[0-9]'; then :; else echo '100 fails [0-9] ~ 567' ; fi ! 115: if echo 'x0y' | -s '[0-9]'; then :; else echo '101 fails [0-9] ~ x0y' ; fi ! 116: if echo 'abc' | -s '[0-9]'; then echo '102 fails [0-9] !~ abc' ;else :; fi ! 117: if echo '' | -s '[0-9]'; then echo '103 fails [0-9] !~ ' ;else :; fi ! 118: if echo '1' | -s '[^0-9]'; then echo '104 fails [^0-9] !~ 1' ;else :; fi ! 119: if echo '567' | -s '[^0-9]'; then echo '105 fails [^0-9] !~ 567' ;else :; fi ! 120: if echo '' | -s '[^0-9]'; then echo '106 fails [^0-9] !~ ' ;else :; fi ! 121: if echo 'abc' | -s '[^0-9]'; then :; else echo '107 fails [^0-9] ~ abc' ; fi ! 122: if echo 'x0y' | -s '[^0-9]'; then :; else echo '108 fails [^0-9] ~ x0y' ; fi ! 123: if echo 'x0y' | -s 'x[0-9]+y'; then :; else echo '109 fails x[0-9]+y ~ x0y' ; fi ! 124: if echo 'x0y' | -s 'x[0-9]+y'; then :; else echo '109 fails x[0-9]+y ~ x0y' ; fi ! 125: if echo 'x23y' | -s 'x[0-9]+y'; then :; else echo '110 fails x[0-9]+y ~ x23y' ; fi ! 126: if echo 'x23y' | -s 'x[0-9]+y'; then :; else echo '110 fails x[0-9]+y ~ x23y' ; fi ! 127: if echo 'x12345y' | -s 'x[0-9]+y'; then :; else echo '111 fails x[0-9]+y ~ x12345y' ; fi ! 128: if echo 'x12345y' | -s 'x[0-9]+y'; then :; else echo '111 fails x[0-9]+y ~ x12345y' ; fi ! 129: if echo '0y' | -s 'x[0-9]+y'; then echo '112 fails x[0-9]+y !~ 0y' ;else :; fi ! 130: if echo '0y' | -s 'x[0-9]+y'; then echo '112 fails x[0-9]+y !~ 0y' ;else :; fi ! 131: if echo 'xy' | -s 'x[0-9]+y'; then echo '113 fails x[0-9]+y !~ xy' ;else :; fi ! 132: if echo 'xy' | -s 'x[0-9]+y'; then echo '113 fails x[0-9]+y !~ xy' ;else :; fi ! 133: if echo 'xy' | -s 'x[0-9]?y'; then :; else echo '114 fails x[0-9]?y ~ xy' ; fi ! 134: if echo 'xy' | -s 'x[0-9]?y'; then :; else echo '114 fails x[0-9]?y ~ xy' ; fi ! 135: if echo 'x1y' | -s 'x[0-9]?y'; then :; else echo '115 fails x[0-9]?y ~ x1y' ; fi ! 136: if echo 'x1y' | -s 'x[0-9]?y'; then :; else echo '115 fails x[0-9]?y ~ x1y' ; fi ! 137: if echo 'x23y' | -s 'x[0-9]?y'; then echo '116 fails x[0-9]?y !~ x23y' ;else :; fi ! 138: if echo 'x23y' | -s 'x[0-9]?y'; then echo '116 fails x[0-9]?y !~ x23y' ;else :; fi ! 139: if echo 'x' | -i -s 'X'; then :; else echo '117 fails -i X ~ x' ; fi ! 140: if echo 'read' | -x -s 'read'; then :; else echo '118 fails -x read ~ read' ; fi ! 141: if echo 'xy read' | -x -s 'read'; then echo '119 fails -x read !~ xy read' ;else :; fi ! 142: if echo 'x read y' | -x -s 'read'; then echo '120 fails -x read !~ x read y' ;else :; fi ! 143: if echo 'xread' | -x -s 'read'; then echo '121 fails -x read !~ xread' ;else :; fi ! 144: if echo 'readx' | -x -s 'read'; then echo '122 fails -x read !~ readx' ;else :; fi ! 145: if echo 'read' | -xF -s 'read'; then :; else echo '123 fails -xF read ~ read' ; fi ! 146: if echo 'xy read' | -xF -s 'read'; then echo '124 fails -xF read !~ xy read' ;else :; fi ! 147: if echo 'x read y' | -xF -s 'read'; then echo '125 fails -xF read !~ x read y' ;else :; fi ! 148: if echo 'xread' | -xF -s 'read'; then echo '126 fails -xF read !~ xread' ;else :; fi ! 149: if echo 'readx' | -xF -s 'read'; then echo '127 fails -xF read !~ readx' ;else :; fi ! 150: if echo 'read' | -F -s 'read'; then :; else echo '128 fails -F read ~ read' ; fi ! 151: if echo 'xy read' | -F -s 'read'; then :; else echo '129 fails -F read ~ xy read' ; fi ! 152: if echo 'x read y' | -F -s 'read'; then :; else echo '130 fails -F read ~ x read y' ; fi ! 153: if echo 'xread' | -F -s 'read'; then :; else echo '131 fails -F read ~ xread' ; fi ! 154: if echo 'readx' | -F -s 'read'; then :; else echo '132 fails -F read ~ readx' ; fi ! 155: if echo '.dexx' | -s '[.]de..'; then :; else echo '133 fails [.]de.. ~ .dexx' ; fi ! 156: if echo '.deyyy' | -s '[.]de..'; then :; else echo '134 fails [.]de.. ~ .deyyy' ; fi ! 157: if echo '.de' | -s '[.]de..'; then echo '135 fails [.]de.. !~ .de' ;else :; fi ! 158: if echo '.dex' | -s '[.]de..'; then echo '136 fails [.]de.. !~ .dex' ;else :; fi ! 159: if echo '|sec' | -G -s '^|s'; then :; else echo '137 fails -G ^|s ~ |sec' ; fi ! 160: if echo 'sec' | -G -s '^|s'; then echo '138 fails -G ^|s !~ sec' ;else :; fi ! 161: if echo 'CDAB' | -G -s '..B'; then :; else echo '139 fails -G ..B ~ CDAB' ; fi ! 162: if echo 'ABCD' | -G -s '..B'; then echo '140 fails -G ..B !~ ABCD' ;else :; fi ! 163: if echo '$tt$' | -G -s '$.*tt.*\$'; then :; else echo '141 fails -G $.*tt.*\$ ~ $tt$' ; fi ! 164: if echo 'vivi' | -s '^([a-z]+)\1$'; then :; else echo '142 fails ^([a-z]+)\1$ ~ vivi' ; fi ! 165: if echo 'vivify' | -s '^([a-z]+)\1$'; then echo '143 fails ^([a-z]+)\1$ !~ vivify' ;else :; fi ! 166: if echo 'vivi' | -s '([a-z]+)\1'; then :; else echo '144 fails ([a-z]+)\1 ~ vivi' ; fi ! 167: if echo 'vivify' | -s '([a-z]+)\1'; then :; else echo '145 fails ([a-z]+)\1 ~ vivify' ; fi ! 168: if echo 'revivi' | -s '([a-z]+)\1'; then :; else echo '146 fails ([a-z]+)\1 ~ revivi' ; fi ! 169: if echo 'vovify' | -s '([a-z]+)\1'; then echo '147 fails ([a-z]+)\1 !~ vovify' ;else :; fi ! 170: if echo 'viv' | -s '([a-z]+)\1'; then echo '148 fails ([a-z]+)\1 !~ viv' ;else :; fi ! 171: if echo 'beriberi' | -G -s '\(....\).*\1'; then :; else echo '149 fails -G \(....\).*\1 ~ beriberi' ; fi ! 172: if echo 'beriberi' | -s '(....).*\1'; then :; else echo '150 fails (....).*\1 ~ beriberi' ; fi ! 173: if echo '' | -s '^$'; then :; else echo '151 fails ^$ ~ ' ; fi ! 174: if echo '' | -G -s '^$'; then :; else echo '152 fails -G ^$ ~ ' ; fi ! 175: if echo 'abk' | -s '[ab]\{2\}k'; then :; else echo '153 fails [ab]\{2\}k ~ abk' ; fi ! 176: if echo 'xyaak' | -s '[ab]\{2\}k'; then :; else echo '154 fails [ab]\{2\}k ~ xyaak' ; fi ! 177: if echo 'zabak' | -s '[ab]\{2\}k'; then :; else echo '155 fails [ab]\{2\}k ~ zabak' ; fi ! 178: if echo 'zad' | -s '[ab]\{2\}k'; then echo '156 fails [ab]\{2\}k !~ zad' ;else :; fi ! 179: if echo 'bq' | -s '[ab]\{2\}k'; then echo '157 fails [ab]\{2\}k !~ bq' ;else :; fi ! 180: if echo 'abq' | -s '[ab]\{2\}k'; then echo '158 fails [ab]\{2\}k !~ abq' ;else :; fi ! 181: if echo 'abd' | -s '[ab]\{2,\}d'; then :; else echo '159 fails [ab]\{2,\}d ~ abd' ; fi ! 182: if echo 'abababad' | -s '[ab]\{2,\}d'; then :; else echo '160 fails [ab]\{2,\}d ~ abababad' ; fi ! 183: if echo 'ad' | -s '[ab]\{2,\}d'; then echo '161 fails [ab]\{2,\}d !~ ad' ;else :; fi ! 184: if echo 'ababaq' | -s '[ab]\{2,\}d'; then echo '162 fails [ab]\{2,\}d !~ ababaq' ;else :; fi ! 185: if echo 'qabd' | -s 'q[ab]\{2,4\}d'; then :; else echo '163 fails q[ab]\{2,4\}d ~ qabd' ; fi ! 186: if echo 'qababd' | -s 'q[ab]\{2,4\}d'; then :; else echo '164 fails q[ab]\{2,4\}d ~ qababd' ; fi ! 187: if echo 'qaaad' | -s 'q[ab]\{2,4\}d'; then :; else echo '165 fails q[ab]\{2,4\}d ~ qaaad' ; fi ! 188: if echo 'qad' | -s 'q[ab]\{2,4\}d'; then echo '166 fails q[ab]\{2,4\}d !~ qad' ;else :; fi ! 189: if echo 'qababad' | -s 'q[ab]\{2,4\}d'; then echo '167 fails q[ab]\{2,4\}d !~ qababad' ;else :; fi ! 190: if echo 'a]b' | -E -s 'a[]]b'; then :; else echo '168 fails -E a[]]b ~ a]b' ; fi ! 191: if echo 'a]b' | -G -s 'a[]]b'; then :; else echo '169 fails -G a[]]b ~ a]b' ; fi ! 192: if echo 'adc' | -E -s 'a[^]b]c'; then :; else echo '170 fails -E a[^]b]c ~ adc' ; fi ! 193: if echo 'adc' | -G -s 'a[^]b]c'; then :; else echo '171 fails -G a[^]b]c ~ adc' ; fi ! 194: if echo 'angelo' | -i -s 'angel[^e]'; then :; else echo '172 fails -i angel[^e] ~ angelo' ; fi ! 195: if echo 'ANGELH' | -i -s 'angel[^e]'; then :; else echo '173 fails -i angel[^e] ~ ANGELH' ; fi ! 196: if echo 'angel' | -i -s 'angel[^e]'; then echo '174 fails -i angel[^e] !~ angel' ;else :; fi ! 197: if echo 'ANGEL' | -i -s 'angel[^e]'; then echo '175 fails -i angel[^e] !~ ANGEL' ;else :; fi ! 198: if echo 'angele' | -i -s 'angel[^e]'; then echo '176 fails -i angel[^e] !~ angele' ;else :; fi ! 199: if echo 'ANGELE' | -i -s 'angel[^e]'; then echo '177 fails -i angel[^e] !~ ANGELE' ;else :; fi ! 200: if echo 'abc>' | -G -s '^[^-].*>'; then :; else echo '178 fails -G ^[^-].*> ~ abc>' ; fi ! 201: if echo '-a>' | -G -s '^[^-].*>'; then echo '179 fails -G ^[^-].*> !~ -a>' ;else :; fi ! 202: if echo 'abc' | -i -s '^[A-Z]'; then :; else echo '180 fails -i ^[A-Z] ~ abc' ; fi ! 203: if echo 'ABC' | -i -s '^[A-Z]'; then :; else echo '181 fails -i ^[A-Z] ~ ABC' ; fi ! 204: if echo 'abc' | -i -s '^[^A-Z]'; then echo '182 fails -i ^[^A-Z] !~ abc' ;else :; fi ! 205: if echo 'ABC' | -i -s '^[^A-Z]'; then echo '183 fails -i ^[^A-Z] !~ ABC' ;else :; fi ! 206: if echo '123' | -i -s '^[^A-Z]'; then :; else echo '184 fails -i ^[^A-Z] ~ 123' ; fi ! 207: if echo '|abc' | -G -s '|abc'; then :; else echo '185 fails -G |abc ~ |abc' ; fi ! 208: if echo 'abc' | -G -s '|abc'; then echo '186 fails -G |abc !~ abc' ;else :; fi ! 209: if echo 'acdacaaa' | -G -s '\(ac*\)c*d[ac]*\1'; then :; else echo '187 fails -G \(ac*\)c*d[ac]*\1 ~ acdacaaa' ; fi ! 210: if echo 'acdacaaa' | -s '(ac*)c*d[ac]*\1'; then :; else echo '188 fails (ac*)c*d[ac]*\1 ~ acdacaaa' ; fi ! 211: if echo 'am' | -s 'ram|am'; then :; else echo '189 fails ram|am ~ am' ; fi ! 212: if echo 'abc' | -x -s '.|..'; then echo '190 fails -x .|.. !~ abc' ;else :; fi ! 213: if echo 'for this line' | -E -s '[a-za-za-za-za-za-za-za-za-za-z]'; then :; else echo '191 fails -E [a-za-za-za-za-za-za-za-za-za-z] ~ for this line' ; fi ! 214: if echo 'for this line' | -s '[a-za-za-za-za-za-za-za-za-za-z]'; then :; else echo '192 fails [a-za-za-za-za-za-za-za-za-za-z] ~ for this line' ; fi ! 215: if echo 'but watch out' | -E -s '[a-za-za-za-za-za-za-za-za-z]'; then :; else echo '193 fails -E [a-za-za-za-za-za-za-za-za-z] ~ but watch out' ; fi ! 216: if echo 'but watch out' | -s '[a-za-za-za-za-za-za-za-za-z]'; then :; else echo '194 fails [a-za-za-za-za-za-za-za-za-z] ~ but watch out' ; fi ! 217: echo '216 simple tests'
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.