1 2### BEGIN{foo=6;print foo/2}: 33 4 5### BEGIN{foo=10;foo/=2;print foo}: 65 7 8### /=/ {print $0}: 9foo=bar 10foo==bar 11foo+=bar 12foo-=bar 13foo*=bar 14foo/=bar 15foo^=bar 16foo%=bar 17foo!=bar 18foo<=bar 19foo>=bar 20foo=bar=fribble 21=foo=bar 22 23### /==/ {print $0}: 24foo==bar 25 26### /+=/ {print $0}: 27../a.out: illegal primary in regular expression += at = 28 source line number 1 29 context is 30 >>> /+=/ <<< 31 32### /*=/ {print $0}: 33../a.out: illegal primary in regular expression *= at = 34 source line number 1 35 context is 36 >>> /*=/ <<< 37 38### /-=/ {print $0}: 39foo-=bar 40 41### //=/ {print $0}: 42../a.out: empty regular expression 43 source line number 1 44 context is 45 >>> // <<< 46 47### /%=/ {print $0}: 48foo%=bar 49 50### /^=/ {print $0}: 51=foo=bar 52 53### /\/=/ {print $0}: 54foo/=bar 55 56### /!=/ {print $0}: 57foo!=bar 58 59### /<=/ {print $0}: 60foo<=bar 61 62### />=/ {print $0}: 63foo>=bar 64 65### !/=/ {print $0}: 66foo+bar 67foo bar 68foo/bar 69 70 71### !/==/ {print $0}: 72foo=bar 73foo+bar 74foo+=bar 75foo-=bar 76foo*=bar 77foo/=bar 78foo^=bar 79foo%=bar 80foo!=bar 81foo<=bar 82foo>=bar 83foo bar 84foo/bar 85foo=bar=fribble 86=foo=bar 87 88 89### !/+=/ {print $0}: 90../a.out: illegal primary in regular expression += at = 91 source line number 1 92 context is 93 >>> !/+=/ <<< 94 95### !/*=/ {print $0}: 96../a.out: illegal primary in regular expression *= at = 97 source line number 1 98 context is 99 >>> !/*=/ <<< 100 101### !/-=/ {print $0}: 102foo=bar 103foo==bar 104foo+bar 105foo+=bar 106foo*=bar 107foo/=bar 108foo^=bar 109foo%=bar 110foo!=bar 111foo<=bar 112foo>=bar 113foo bar 114foo/bar 115foo=bar=fribble 116=foo=bar 117 118 119### !//=/ {print $0}: 120../a.out: empty regular expression 121 source line number 1 122 context is 123 >>> !// <<< 124 125### !/%=/ {print $0}: 126foo=bar 127foo==bar 128foo+bar 129foo+=bar 130foo-=bar 131foo*=bar 132foo/=bar 133foo^=bar 134foo!=bar 135foo<=bar 136foo>=bar 137foo bar 138foo/bar 139foo=bar=fribble 140=foo=bar 141 142 143### !/^=/ {print $0}: 144foo=bar 145foo==bar 146foo+bar 147foo+=bar 148foo-=bar 149foo*=bar 150foo/=bar 151foo^=bar 152foo%=bar 153foo!=bar 154foo<=bar 155foo>=bar 156foo bar 157foo/bar 158foo=bar=fribble 159 160 161### !/\/=/ {print $0}: 162foo=bar 163foo==bar 164foo+bar 165foo+=bar 166foo-=bar 167foo*=bar 168foo^=bar 169foo%=bar 170foo!=bar 171foo<=bar 172foo>=bar 173foo bar 174foo/bar 175foo=bar=fribble 176=foo=bar 177 178 179### !/!=/ {print $0}: 180foo=bar 181foo==bar 182foo+bar 183foo+=bar 184foo-=bar 185foo*=bar 186foo/=bar 187foo^=bar 188foo%=bar 189foo<=bar 190foo>=bar 191foo bar 192foo/bar 193foo=bar=fribble 194=foo=bar 195 196 197### !/<=/ {print $0}: 198foo=bar 199foo==bar 200foo+bar 201foo+=bar 202foo-=bar 203foo*=bar 204foo/=bar 205foo^=bar 206foo%=bar 207foo!=bar 208foo>=bar 209foo bar 210foo/bar 211foo=bar=fribble 212=foo=bar 213 214 215### !/>=/ {print $0}: 216foo=bar 217foo==bar 218foo+bar 219foo+=bar 220foo-=bar 221foo*=bar 222foo/=bar 223foo^=bar 224foo%=bar 225foo!=bar 226foo<=bar 227foo bar 228foo/bar 229foo=bar=fribble 230=foo=bar 231 232 233### $0~/=/ {print $0}: 234foo=bar 235foo==bar 236foo+=bar 237foo-=bar 238foo*=bar 239foo/=bar 240foo^=bar 241foo%=bar 242foo!=bar 243foo<=bar 244foo>=bar 245foo=bar=fribble 246=foo=bar 247 248### $0~/==/ {print $0}: 249foo==bar 250 251### $0~/+=/ {print $0}: 252../a.out: illegal primary in regular expression += at = 253 source line number 1 254 context is 255 >>> $0~/+=/ <<< 256 257### $0~/*=/ {print $0}: 258../a.out: illegal primary in regular expression *= at = 259 source line number 1 260 context is 261 >>> $0~/*=/ <<< 262 263### $0~/-=/ {print $0}: 264foo-=bar 265 266### $0~//=/ {print $0}: 267../a.out: empty regular expression 268 source line number 1 269 context is 270 >>> $0~// <<< 271 272### $0~/%=/ {print $0}: 273foo%=bar 274 275### $0~/^=/ {print $0}: 276=foo=bar 277 278### $0~/\/=/ {print $0}: 279foo/=bar 280 281### $0~/!=/ {print $0}: 282foo!=bar 283 284### $0~/<=/ {print $0}: 285foo<=bar 286 287### $0~/>=/ {print $0}: 288foo>=bar 289 290### $0!~/=/ {print $0}: 291foo+bar 292foo bar 293foo/bar 294 295 296### $0!~/==/ {print $0}: 297foo=bar 298foo+bar 299foo+=bar 300foo-=bar 301foo*=bar 302foo/=bar 303foo^=bar 304foo%=bar 305foo!=bar 306foo<=bar 307foo>=bar 308foo bar 309foo/bar 310foo=bar=fribble 311=foo=bar 312 313 314### $0!~/+=/ {print $0}: 315../a.out: illegal primary in regular expression += at = 316 source line number 1 317 context is 318 >>> $0!~/+=/ <<< 319 320### $0!~/*=/ {print $0}: 321../a.out: illegal primary in regular expression *= at = 322 source line number 1 323 context is 324 >>> $0!~/*=/ <<< 325 326### $0!~/-=/ {print $0}: 327foo=bar 328foo==bar 329foo+bar 330foo+=bar 331foo*=bar 332foo/=bar 333foo^=bar 334foo%=bar 335foo!=bar 336foo<=bar 337foo>=bar 338foo bar 339foo/bar 340foo=bar=fribble 341=foo=bar 342 343 344### $0!~//=/ {print $0}: 345../a.out: empty regular expression 346 source line number 1 347 context is 348 >>> $0!~// <<< 349 350### $0!~/%=/ {print $0}: 351foo=bar 352foo==bar 353foo+bar 354foo+=bar 355foo-=bar 356foo*=bar 357foo/=bar 358foo^=bar 359foo!=bar 360foo<=bar 361foo>=bar 362foo bar 363foo/bar 364foo=bar=fribble 365=foo=bar 366 367 368### $0!~/^=/ {print $0}: 369foo=bar 370foo==bar 371foo+bar 372foo+=bar 373foo-=bar 374foo*=bar 375foo/=bar 376foo^=bar 377foo%=bar 378foo!=bar 379foo<=bar 380foo>=bar 381foo bar 382foo/bar 383foo=bar=fribble 384 385 386### $0!~/\/=/ {print $0}: 387foo=bar 388foo==bar 389foo+bar 390foo+=bar 391foo-=bar 392foo*=bar 393foo^=bar 394foo%=bar 395foo!=bar 396foo<=bar 397foo>=bar 398foo bar 399foo/bar 400foo=bar=fribble 401=foo=bar 402 403 404### $0!~/!=/ {print $0}: 405foo=bar 406foo==bar 407foo+bar 408foo+=bar 409foo-=bar 410foo*=bar 411foo/=bar 412foo^=bar 413foo%=bar 414foo<=bar 415foo>=bar 416foo bar 417foo/bar 418foo=bar=fribble 419=foo=bar 420 421 422### $0!~/<=/ {print $0}: 423foo=bar 424foo==bar 425foo+bar 426foo+=bar 427foo-=bar 428foo*=bar 429foo/=bar 430foo^=bar 431foo%=bar 432foo!=bar 433foo>=bar 434foo bar 435foo/bar 436foo=bar=fribble 437=foo=bar 438 439 440### $0!~/>=/ {print $0}: 441foo=bar 442foo==bar 443foo+bar 444foo+=bar 445foo-=bar 446foo*=bar 447foo/=bar 448foo^=bar 449foo%=bar 450foo!=bar 451foo<=bar 452foo bar 453foo/bar 454foo=bar=fribble 455=foo=bar 456 457 458### {if(match($0,/=/))print $0}: 459foo=bar 460foo==bar 461foo+=bar 462foo-=bar 463foo*=bar 464foo/=bar 465foo^=bar 466foo%=bar 467foo!=bar 468foo<=bar 469foo>=bar 470foo=bar=fribble 471=foo=bar 472 473### {if(match($0,/=/))print $0}: 474foo=bar 475foo==bar 476foo+=bar 477foo-=bar 478foo*=bar 479foo/=bar 480foo^=bar 481foo%=bar 482foo!=bar 483foo<=bar 484foo>=bar 485foo=bar=fribble 486=foo=bar 487 488### {if(match($0,/==/))print $0}: 489foo==bar 490 491### {if(match($0,/+=/))print $0}: 492../a.out: illegal primary in regular expression += at = 493 source line number 1 494 context is 495 >>> {if(match($0,/+=/) <<< 496 497### {if(match($0,/*=/))print $0}: 498../a.out: illegal primary in regular expression *= at = 499 source line number 1 500 context is 501 >>> {if(match($0,/*=/) <<< 502 503### {if(match($0,/-=/))print $0}: 504foo-=bar 505 506### {if(match($0,//=/))print $0}: 507../a.out: empty regular expression 508 source line number 1 509 context is 510 >>> {if(match($0,//= <<< /))print $0} 511 512### {if(match($0,/%=/))print $0}: 513foo%=bar 514 515### {if(match($0,/^=/))print $0}: 516=foo=bar 517 518### {if(match($0,/\/=/))print $0}: 519foo/=bar 520 521### {if(match($0,/!=/))print $0}: 522foo!=bar 523 524### {if(match($0,/<=/))print $0}: 525foo<=bar 526 527### {if(match($0,/>=/))print $0}: 528foo>=bar 529 530### {if(!match($0,/=/))print $0}: 531foo+bar 532foo bar 533foo/bar 534 535 536### {if(!match($0,/==/))print $0}: 537foo=bar 538foo+bar 539foo+=bar 540foo-=bar 541foo*=bar 542foo/=bar 543foo^=bar 544foo%=bar 545foo!=bar 546foo<=bar 547foo>=bar 548foo bar 549foo/bar 550foo=bar=fribble 551=foo=bar 552 553 554### {if(!match($0,/+=/))print $0}: 555../a.out: illegal primary in regular expression += at = 556 source line number 1 557 context is 558 >>> {if(!match($0,/+=/) <<< 559 560### {if(!match($0,/*=/))print $0}: 561../a.out: illegal primary in regular expression *= at = 562 source line number 1 563 context is 564 >>> {if(!match($0,/*=/) <<< 565 566### {if(!match($0,/-=/))print $0}: 567foo=bar 568foo==bar 569foo+bar 570foo+=bar 571foo*=bar 572foo/=bar 573foo^=bar 574foo%=bar 575foo!=bar 576foo<=bar 577foo>=bar 578foo bar 579foo/bar 580foo=bar=fribble 581=foo=bar 582 583 584### {if(!match($0,//=/))print $0}: 585../a.out: empty regular expression 586 source line number 1 587 context is 588 >>> {if(!match($0,//= <<< /))print $0} 589 590### {if(!match($0,/%=/))print $0}: 591foo=bar 592foo==bar 593foo+bar 594foo+=bar 595foo-=bar 596foo*=bar 597foo/=bar 598foo^=bar 599foo!=bar 600foo<=bar 601foo>=bar 602foo bar 603foo/bar 604foo=bar=fribble 605=foo=bar 606 607 608### {if(!match($0,/^=/))print $0}: 609foo=bar 610foo==bar 611foo+bar 612foo+=bar 613foo-=bar 614foo*=bar 615foo/=bar 616foo^=bar 617foo%=bar 618foo!=bar 619foo<=bar 620foo>=bar 621foo bar 622foo/bar 623foo=bar=fribble 624 625 626### {if(!match($0,/\/=/))print $0}: 627foo=bar 628foo==bar 629foo+bar 630foo+=bar 631foo-=bar 632foo*=bar 633foo^=bar 634foo%=bar 635foo!=bar 636foo<=bar 637foo>=bar 638foo bar 639foo/bar 640foo=bar=fribble 641=foo=bar 642 643 644### {if(!match($0,/!=/))print $0}: 645foo=bar 646foo==bar 647foo+bar 648foo+=bar 649foo-=bar 650foo*=bar 651foo/=bar 652foo^=bar 653foo%=bar 654foo<=bar 655foo>=bar 656foo bar 657foo/bar 658foo=bar=fribble 659=foo=bar 660 661 662### {if(!match($0,/<=/))print $0}: 663foo=bar 664foo==bar 665foo+bar 666foo+=bar 667foo-=bar 668foo*=bar 669foo/=bar 670foo^=bar 671foo%=bar 672foo!=bar 673foo>=bar 674foo bar 675foo/bar 676foo=bar=fribble 677=foo=bar 678 679 680### {if(!match($0,/>=/))print $0}: 681foo=bar 682foo==bar 683foo+bar 684foo+=bar 685foo-=bar 686foo*=bar 687foo/=bar 688foo^=bar 689foo%=bar 690foo!=bar 691foo<=bar 692foo bar 693foo/bar 694foo=bar=fribble 695=foo=bar 696 697 698### {if(index($0,/=/))print $0}: 699../a.out: index() doesn't permit regular expressions at source line 1 700 context is 701 >>> {if(index($0,/=/) <<< 702 703### {if(index($0,/=/))print $0}: 704../a.out: index() doesn't permit regular expressions at source line 1 705 context is 706 >>> {if(index($0,/=/) <<< 707 708### {if(index($0,/==/))print $0}: 709../a.out: index() doesn't permit regular expressions at source line 1 710 context is 711 >>> {if(index($0,/==/) <<< 712 713### {if(index($0,/+=/))print $0}: 714../a.out: index() doesn't permit regular expressions at source line 1 715 context is 716 >>> {if(index($0,/+=/) <<< 717 718### {if(index($0,/*=/))print $0}: 719../a.out: index() doesn't permit regular expressions at source line 1 720 context is 721 >>> {if(index($0,/*=/) <<< 722 723### {if(index($0,/-=/))print $0}: 724../a.out: index() doesn't permit regular expressions at source line 1 725 context is 726 >>> {if(index($0,/-=/) <<< 727 728### {if(index($0,//=/))print $0}: 729../a.out: empty regular expression 730 source line number 1 731 context is 732 >>> {if(index($0,//= <<< /))print $0} 733 734### {if(index($0,/%=/))print $0}: 735../a.out: index() doesn't permit regular expressions at source line 1 736 context is 737 >>> {if(index($0,/%=/) <<< 738 739### {if(index($0,/^=/))print $0}: 740../a.out: index() doesn't permit regular expressions at source line 1 741 context is 742 >>> {if(index($0,/^=/) <<< 743 744### {if(index($0,/\/=/))print $0}: 745../a.out: index() doesn't permit regular expressions at source line 1 746 context is 747 >>> {if(index($0,/\/=/) <<< 748 749### {if(index($0,/!=/))print $0}: 750../a.out: index() doesn't permit regular expressions at source line 1 751 context is 752 >>> {if(index($0,/!=/) <<< 753 754### {if(index($0,/<=/))print $0}: 755../a.out: index() doesn't permit regular expressions at source line 1 756 context is 757 >>> {if(index($0,/<=/) <<< 758 759### {if(index($0,/>=/))print $0}: 760../a.out: index() doesn't permit regular expressions at source line 1 761 context is 762 >>> {if(index($0,/>=/) <<< 763 764### {if(split($0,foo,/=/))print $0}: 765foo=bar 766foo==bar 767foo+bar 768foo+=bar 769foo-=bar 770foo*=bar 771foo/=bar 772foo^=bar 773foo%=bar 774foo!=bar 775foo<=bar 776foo>=bar 777foo bar 778foo/bar 779foo=bar=fribble 780=foo=bar 781 782 783### {if(split($0,foo,/=/))print $0}: 784foo=bar 785foo==bar 786foo+bar 787foo+=bar 788foo-=bar 789foo*=bar 790foo/=bar 791foo^=bar 792foo%=bar 793foo!=bar 794foo<=bar 795foo>=bar 796foo bar 797foo/bar 798foo=bar=fribble 799=foo=bar 800 801 802### {if(split($0,foo,/==/))print $0}: 803foo=bar 804foo==bar 805foo+bar 806foo+=bar 807foo-=bar 808foo*=bar 809foo/=bar 810foo^=bar 811foo%=bar 812foo!=bar 813foo<=bar 814foo>=bar 815foo bar 816foo/bar 817foo=bar=fribble 818=foo=bar 819 820 821### {if(split($0,foo,/+=/))print $0}: 822../a.out: illegal primary in regular expression += at = 823 source line number 1 824 context is 825 >>> {if(split($0,foo,/+=/) <<< 826 827### {if(split($0,foo,/*=/))print $0}: 828../a.out: illegal primary in regular expression *= at = 829 source line number 1 830 context is 831 >>> {if(split($0,foo,/*=/) <<< 832 833### {if(split($0,foo,/-=/))print $0}: 834foo=bar 835foo==bar 836foo+bar 837foo+=bar 838foo-=bar 839foo*=bar 840foo/=bar 841foo^=bar 842foo%=bar 843foo!=bar 844foo<=bar 845foo>=bar 846foo bar 847foo/bar 848foo=bar=fribble 849=foo=bar 850 851 852### {if(split($0,foo,//=/))print $0}: 853../a.out: empty regular expression 854 source line number 1 855 context is 856 >>> {if(split($0,foo,//= <<< /))print $0} 857 858### {if(split($0,foo,/%=/))print $0}: 859foo=bar 860foo==bar 861foo+bar 862foo+=bar 863foo-=bar 864foo*=bar 865foo/=bar 866foo^=bar 867foo%=bar 868foo!=bar 869foo<=bar 870foo>=bar 871foo bar 872foo/bar 873foo=bar=fribble 874=foo=bar 875 876 877### {if(split($0,foo,/^=/))print $0}: 878foo=bar 879foo==bar 880foo+bar 881foo+=bar 882foo-=bar 883foo*=bar 884foo/=bar 885foo^=bar 886foo%=bar 887foo!=bar 888foo<=bar 889foo>=bar 890foo bar 891foo/bar 892foo=bar=fribble 893=foo=bar 894 895 896### {if(split($0,foo,/\/=/))print $0}: 897foo=bar 898foo==bar 899foo+bar 900foo+=bar 901foo-=bar 902foo*=bar 903foo/=bar 904foo^=bar 905foo%=bar 906foo!=bar 907foo<=bar 908foo>=bar 909foo bar 910foo/bar 911foo=bar=fribble 912=foo=bar 913 914 915### {if(split($0,foo,/!=/))print $0}: 916foo=bar 917foo==bar 918foo+bar 919foo+=bar 920foo-=bar 921foo*=bar 922foo/=bar 923foo^=bar 924foo%=bar 925foo!=bar 926foo<=bar 927foo>=bar 928foo bar 929foo/bar 930foo=bar=fribble 931=foo=bar 932 933 934### {if(split($0,foo,/<=/))print $0}: 935foo=bar 936foo==bar 937foo+bar 938foo+=bar 939foo-=bar 940foo*=bar 941foo/=bar 942foo^=bar 943foo%=bar 944foo!=bar 945foo<=bar 946foo>=bar 947foo bar 948foo/bar 949foo=bar=fribble 950=foo=bar 951 952 953### {if(split($0,foo,/>=/))print $0}: 954foo=bar 955foo==bar 956foo+bar 957foo+=bar 958foo-=bar 959foo*=bar 960foo/=bar 961foo^=bar 962foo%=bar 963foo!=bar 964foo<=bar 965foo>=bar 966foo bar 967foo/bar 968foo=bar=fribble 969=foo=bar 970 971 972### {if(sub(/=/,"#"))print $0}: 973foo#bar 974foo#=bar 975foo+#bar 976foo-#bar 977foo*#bar 978foo/#bar 979foo^#bar 980foo%#bar 981foo!#bar 982foo<#bar 983foo>#bar 984foo#bar=fribble 985#foo=bar 986 987### {if(sub(/=/,"#"))print $0}: 988foo#bar 989foo#=bar 990foo+#bar 991foo-#bar 992foo*#bar 993foo/#bar 994foo^#bar 995foo%#bar 996foo!#bar 997foo<#bar 998foo>#bar 999foo#bar=fribble 1000#foo=bar 1001 1002### {if(sub(/==/,"#"))print $0}: 1003foo#bar 1004 1005### {if(sub(/+=/,"#"))print $0}: 1006../a.out: illegal primary in regular expression += at = 1007 source line number 1 1008 context is 1009 >>> {if(sub(/+=/,"#") <<< 1010 1011### {if(sub(/*=/,"#"))print $0}: 1012../a.out: illegal primary in regular expression *= at = 1013 source line number 1 1014 context is 1015 >>> {if(sub(/*=/,"#") <<< 1016 1017### {if(sub(/-=/,"#"))print $0}: 1018foo#bar 1019 1020### {if(sub(//=/,"#"))print $0}: 1021../a.out: empty regular expression 1022 source line number 1 1023 context is 1024 >>> {if(sub(//= <<< /,"#"))print $0} 1025 1026### {if(sub(/%=/,"#"))print $0}: 1027foo#bar 1028 1029### {if(sub(/^=/,"#"))print $0}: 1030#foo=bar 1031 1032### {if(sub(/\/=/,"#"))print $0}: 1033foo#bar 1034 1035### {if(sub(/!=/,"#"))print $0}: 1036foo#bar 1037 1038### {if(sub(/<=/,"#"))print $0}: 1039foo#bar 1040 1041### {if(sub(/>=/,"#"))print $0}: 1042foo#bar 1043 1044### {if(gsub(/=/,"#"))print $0}: 1045foo#bar 1046foo##bar 1047foo+#bar 1048foo-#bar 1049foo*#bar 1050foo/#bar 1051foo^#bar 1052foo%#bar 1053foo!#bar 1054foo<#bar 1055foo>#bar 1056foo#bar#fribble 1057#foo#bar 1058 1059### {if(gsub(/=/,"#"))print $0}: 1060foo#bar 1061foo##bar 1062foo+#bar 1063foo-#bar 1064foo*#bar 1065foo/#bar 1066foo^#bar 1067foo%#bar 1068foo!#bar 1069foo<#bar 1070foo>#bar 1071foo#bar#fribble 1072#foo#bar 1073 1074### {if(gsub(/==/,"#"))print $0}: 1075foo#bar 1076 1077### {if(gsub(/+=/,"#"))print $0}: 1078../a.out: illegal primary in regular expression += at = 1079 source line number 1 1080 context is 1081 >>> {if(gsub(/+=/,"#") <<< 1082 1083### {if(gsub(/*=/,"#"))print $0}: 1084../a.out: illegal primary in regular expression *= at = 1085 source line number 1 1086 context is 1087 >>> {if(gsub(/*=/,"#") <<< 1088 1089### {if(gsub(/-=/,"#"))print $0}: 1090foo#bar 1091 1092### {if(gsub(//=/,"#"))print $0}: 1093../a.out: empty regular expression 1094 source line number 1 1095 context is 1096 >>> {if(gsub(//= <<< /,"#"))print $0} 1097 1098### {if(gsub(/%=/,"#"))print $0}: 1099foo#bar 1100 1101### {if(gsub(/^=/,"#"))print $0}: 1102#foo=bar 1103 1104### {if(gsub(/\/=/,"#"))print $0}: 1105foo#bar 1106 1107### {if(gsub(/!=/,"#"))print $0}: 1108foo#bar 1109 1110### {if(gsub(/<=/,"#"))print $0}: 1111foo#bar 1112 1113### {if(gsub(/>=/,"#"))print $0}: 1114foo#bar 1115 1116### {if(sub(/=/,"#",$0))print $0}: 1117foo#bar 1118foo#=bar 1119foo+#bar 1120foo-#bar 1121foo*#bar 1122foo/#bar 1123foo^#bar 1124foo%#bar 1125foo!#bar 1126foo<#bar 1127foo>#bar 1128foo#bar=fribble 1129#foo=bar 1130 1131### {if(sub(/=/,"#",$0))print $0}: 1132foo#bar 1133foo#=bar 1134foo+#bar 1135foo-#bar 1136foo*#bar 1137foo/#bar 1138foo^#bar 1139foo%#bar 1140foo!#bar 1141foo<#bar 1142foo>#bar 1143foo#bar=fribble 1144#foo=bar 1145 1146### {if(sub(/==/,"#",$0))print $0}: 1147foo#bar 1148 1149### {if(sub(/+=/,"#",$0))print $0}: 1150../a.out: illegal primary in regular expression += at = 1151 source line number 1 1152 context is 1153 >>> {if(sub(/+=/,"#",$0) <<< 1154 1155### {if(sub(/*=/,"#",$0))print $0}: 1156../a.out: illegal primary in regular expression *= at = 1157 source line number 1 1158 context is 1159 >>> {if(sub(/*=/,"#",$0) <<< 1160 1161### {if(sub(/-=/,"#",$0))print $0}: 1162foo#bar 1163 1164### {if(sub(//=/,"#",$0))print $0}: 1165../a.out: empty regular expression 1166 source line number 1 1167 context is 1168 >>> {if(sub(//= <<< /,"#",$0))print $0} 1169 1170### {if(sub(/%=/,"#",$0))print $0}: 1171foo#bar 1172 1173### {if(sub(/^=/,"#",$0))print $0}: 1174#foo=bar 1175 1176### {if(sub(/\/=/,"#",$0))print $0}: 1177foo#bar 1178 1179### {if(sub(/!=/,"#",$0))print $0}: 1180foo#bar 1181 1182### {if(sub(/<=/,"#",$0))print $0}: 1183foo#bar 1184 1185### {if(sub(/>=/,"#",$0))print $0}: 1186foo#bar 1187 1188### {if(sub(/=/,"#",$0))print $0}: 1189foo#bar 1190foo#=bar 1191foo+#bar 1192foo-#bar 1193foo*#bar 1194foo/#bar 1195foo^#bar 1196foo%#bar 1197foo!#bar 1198foo<#bar 1199foo>#bar 1200foo#bar=fribble 1201#foo=bar 1202 1203### {if(gsub(/=/,"#",$0))print $0}: 1204foo#bar 1205foo##bar 1206foo+#bar 1207foo-#bar 1208foo*#bar 1209foo/#bar 1210foo^#bar 1211foo%#bar 1212foo!#bar 1213foo<#bar 1214foo>#bar 1215foo#bar#fribble 1216#foo#bar 1217 1218### {if(gsub(/==/,"#",$0))print $0}: 1219foo#bar 1220 1221### {if(gsub(/+=/,"#",$0))print $0}: 1222../a.out: illegal primary in regular expression += at = 1223 source line number 1 1224 context is 1225 >>> {if(gsub(/+=/,"#",$0) <<< 1226 1227### {if(gsub(/*=/,"#",$0))print $0}: 1228../a.out: illegal primary in regular expression *= at = 1229 source line number 1 1230 context is 1231 >>> {if(gsub(/*=/,"#",$0) <<< 1232 1233### {if(gsub(/-=/,"#",$0))print $0}: 1234foo#bar 1235 1236### {if(gsub(//=/,"#",$0))print $0}: 1237../a.out: empty regular expression 1238 source line number 1 1239 context is 1240 >>> {if(gsub(//= <<< /,"#",$0))print $0} 1241 1242### {if(gsub(/%=/,"#",$0))print $0}: 1243foo#bar 1244 1245### {if(gsub(/^=/,"#",$0))print $0}: 1246#foo=bar 1247 1248### {if(gsub(/\/=/,"#",$0))print $0}: 1249foo#bar 1250 1251### {if(gsub(/!=/,"#",$0))print $0}: 1252foo#bar 1253 1254### {if(gsub(/<=/,"#",$0))print $0}: 1255foo#bar 1256 1257### {if(gsub(/>=/,"#",$0))print $0}: 1258foo#bar 1259