Skip to content
Tcl Source Code Artifact [2b26ede397]
Login

Artifact [2b26ede397]

Artifact 2b26ede3973cacb482bab6de451e8240fe35ccf9:

Ticket change [2b26ede397] - New ticket [219077ffffffffff|219077ffff] <i>Man page problems in regexp.6</i>. by nobody on 2000-10-26 01:10:22.
D 2000-10-26T01:10:22
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s5037\sBug\nVersion:\s8.3\nSubmitDate:\s'2000-04-12'\nLastModified:\s'2000-04-13'\nSeverity:\sMED\nStatus:\sReleased\nSubmitter:\stechsupp\nChangedBy:\shobbs\nOS:\sSolaris\nOSVersion:\s2.6\nMachine:\sUltraSPARC\s5\nFixedDate:\s'2000-04-13'\nFixedInVersion:\s8.3.1\nClosedDate:\s'2000-10-25'\n\n\nName:\nLarry\sW.\sVirden\n\nCVS:\nApril\s10,\s2000\s10:06\sam\sEST\s(or\swas\sthat\sEDT?)\n\nExtensions:\nnone\n\nCustomShell:\nreflects\sa\srelatively\srecent\sNetCVS\n\nComments:\nI\snotice\sthat\sthe\sfollowing\ssentence\sis\sa\sbit\srough:\n\n\s\s\s\s\\fB\\-inline\\fR\n\s\s\s\sCauses\sthe\scommand\sto\sreturn\sthe\sdata\sthat\swould\sotherwise\sbe\splaced\n\s\s\s\sin\smatch\svariables\sto\sbe\sreturned\sas\sa\slist.\s\n\n\s\s\s\sShould\sthis\sperhaps\sread\n\s\s\s\sCauses\sthe\scommand\sto\sreturn,\sas\sa\slist,\sthe\sdata\sthat\swould\sotherwise\n\s\s\s\sbe\splaced\sin\smatch\svariables.\n\nReproducibleScript:\nwhen\sI\sdo\sa\sman\s-s\s6\sregexp\s,\sthe\sresulting\soutput\sis\smisformatted:\n\n\s\s\s\s\s-nocase\s\s\s\s\s\s\s\s\sCauses\supper-case\scharacters\sin\sstring\sto\sbe\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\streated\s\sas\s\slower\s\scase\s\sduring\sthe\smatching\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sprocess.\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s|\n\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s-\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s|\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sall\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s|\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s|\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s|\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sCauses\sthe\sregular\sexpression\sto\s\sbe\s\smatched\s\s|\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sas\s\smany\s\stimes\s\sas\s\spossible\s\sin\sthe\sstring,\s\s|\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sreturning\sthe\stotal\snumber\sof\smatches\s\sfound.\s\s|\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sIf\s\sthis\s\sis\s\sspecified\swith\smatch\svariables,\s\s|\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sthey\swill\scontinue\sinformation\sfor\s\sthe\s\slast\s\s|\n\s\s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all,\sthe\s\slist\s\swill\s\sbe\s\s|\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sconcatenated\s\sat\s\seach\siteration,\ssuch\sthat\sa\s\s|\n\nObservedBehavior:\nIt\s_appears_\sthat\sthe\sproblem\sbegins\sat\sthe\spoint\sof\sthe\sVS\smacro\sin\sthe\sman\ssource:\n.TP\s15\n\\fB\\-linestop\\fR\nChanges\sthe\sbehavior\sof\s`[^'\sbracket\sexpressions\sand\s`.'\sso\sthat\sthey\nstop\sat\snewlines.\s\sThis\sis\sthe\ssame\sas\sspecifying\sthe\s\\fB(?p)\\fR\nembedded\soption\s(see\sMETASYNTAX,\sbelow).\n.TP\s15\n\\fB\\-lineanchor\\fR\nChanges\sthe\sbehavior\sof\s`^'\sand\s`$'\s(the\s``anchors'')\sso\sthey\smatch\sthe\nbeginning\sand\send\sof\sa\sline\srespectively.\s\sThis\sis\sthe\ssame\sas\nspecifying\sthe\s\\fB(?w)\\fR\sembedded\soption\s(see\sMETASYNTAX,\sbelow).\n.TP\s15\n\\fB\\-nocase\\fR\nCauses\supper-case\scharacters\sin\s\\fIstring\\fR\sto\sbe\streated\sas\nlower\scase\sduring\sthe\smatching\sprocess.\n.VS\s8.3\n.TP\s15\n\\fB\\-all\\fR\nCauses\sthe\sregular\sexpression\sto\sbe\smatched\sas\smany\stimes\sas\spossible\nin\sthe\sstring,\sreturning\sthe\stotal\snumber\sof\smatches\sfound.\s\sIf\sthis\nis\sspecified\swith\smatch\svariables,\sthey\swill\scontinue\sinformation\sfor\nthe\slast\smatch\sonly.\n\nDesiredBehavior:\nThe\sitems\sin\squestion\sformatted\sin\sthe\ssame\sreadable\smanner\sas\sthe\srest\sof\sthe\nflags.\n\n\n\nUpdated\sthe\sone\sline,\sbut\sthe\srest\sdoesn't\sappear\smisformatted\sfor\nme\swith\sSol2.5.1\sand\sSol7.\s\sI\sget:\n\n\s\s\s\s\s-nocase\s\s\s\s\s\s\s\sCauses\supper-case\scharacters\sin\sstring\sto\s\sbe\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\streated\s\sas\s\slower\s\scase\s\sduring\sthe\smatching\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sprocess.\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s|\n\n\s\s\s\s\s-all\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s||\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sCauses\s\sthe\s\sregular\sexpression\sto\sbe\smatched\s\s|\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sas\smany\stimes\s\sas\s\spossible\s\sin\s\sthe\s\sstring,\s\s|\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sreturning\s\sthe\stotal\snumber\sof\smatches\sfound.\s\s|\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\sIf\sthis\sis\sspecified\s\swith\s\smatch\s\svariables,\s\s|\n...\n\nWhich\sis\sOK\sand\sperfectly\sreadable.\s\sBTW,\sregexp\sshould\sbe\sin\nsection\s(n),\snot\s6...\s\n--\s04/13/2000\shobbs
J foundin obsolete:\s8.3
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 46.\sTraces
J title Man\spage\sproblems\sin\sregexp.6
J type Bug
K 219077ffffffffffffffffffffffffffffffffff
U nobody
Z fc4602c230e7f18c8d3aa0d8a590e006