| Anonymous | Login | Signup for a new account | 11-10-2008 10:44 PST |
| Main | My View | View Issues | Change Log | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
| 0000248 | [BusyBox] Other | major | always | 05-06-05 15:57 | 09-01-05 17:15 | ||||
| Reporter | keithel | View Status | public | ||||||
| Assigned To | BusyBox | ||||||||
| Priority | normal | Resolution | fixed | ||||||
| Status | closed | Product Version | 1.00 | ||||||
| Summary | 0000248: sed y// doesn't behave as defined by standard sed | ||||||||
| Description |
The y// text transformation command in busybox sed does not function properly. here's an example (rot13 of "Hello World!"): echo 'Hello World!' | sed -e 'y/abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ/nopqrstuvwxyzabcdefghijklmNOPQRSTUVWXYZABCDEFGHIJKLM/' standard gnu sed output: Uryyb Jbeyq! busybox sed output: Hellb Jbeld! The output appears as though the replacement happened for each replacement set over the whole string each time, iteratively. So, all a's in the string are replaced by n, b's replaced by o, [...] n's replaced by a (even ones that were originally a, replaced by n when that first happened). This should not happen, once a replacement happens, the character should be taken out of the list. |
||||||||
| Additional Information | |||||||||
| Attached Files | |||||||||
|
|
|||||||||
| Copyright © 2000 - 2006 Mantis Group |