Overview
| Artifact ID: | 6521e9b29c873343a830e9e3c9d1d00bc90b2953 |
|---|---|
| Ticket: | 218475ffffffffffffffffffffffffffffffffff
add new options -dictionary or -nocase to lsearch |
| User & Date: | nobody on 2000-10-26 01:01:01 |
Changes
- assignee changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
OriginalBugID: 662 RFE Version: 8.0p2 SubmitDate: '1998-05-25' LastModified: '1999-09-01' Severity: LOW Status: Released Submitter: hershey ChangedBy: hobbs OS: All OSVersion: NA Machine: NA FixedDate: '1999-09-01' FixedInVersion: 8.1 ClosedDate: '2000-10-25' 2301a2302,2303 > #define DICTIONARY 3 > #define NOCASE 4 2306c2308 < {"-exact", "-glob", "-regexp", (char *) NULL}; --- > {"-exact", "-glob", "-regexp", "-dictionary", "-nocase", (char *) NULL}; 2355a2358,2365 > break; > case DICTIONARY: > case NOCASE: > #if _WINDOWS > match = strnicmp (bytes, patternBytes, length) == 0; > #else > match = strncasecmp (bytes, patternBytes, length) == 0; > #endif lsort has a -dictionary option, and with 8.1 and -regexp, you can use the embedded option (?i) to specify case insensitive comparisons. -- 09/01/1999 hobbs - foundin changed to: "obsolete: 8.0p2"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "69. Other"
- title changed to: "add new options -dictionary or -nocase to lsearch"
- type changed to: "RFE"