BusyBox Bug and Patch Tracking
BusyBox
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001174 [BusyBox] Standards Compliance minor always 01-25-07 14:12 02-14-08 04:33
Reporter whitpa View Status public  
Assigned To BusyBox
Priority normal Resolution fixed  
Status closed   Product Version 1.4.x
Summary 0001174: tr mishandles case where first pattern set starts with hyphen
Description GNU Coreutils tr:
    "echo foo-bar | tr - _" yields "foo_bar"

Busybox tr:
    "echo foo-bar | tr - _" yields "foo-bar"

This occurs in all versions of Busybox at least as far back as Busybox 1.00.

The tr applet does not support "--" for option/argument disambiguation (eg. "tr -- - _"), so coding around this behaviour is awkward (have to use something like "tr '\055' _").
Additional Information
Attached Files

- Relationships

- Notes
(0004624)
vda
02-14-08 04:33

Apparently fixed - just tested svn and it works correctly.
 

- Issue History
Date Modified Username Field Change
01-25-07 14:12 whitpa New Issue
01-25-07 14:12 whitpa Status new => assigned
01-25-07 14:12 whitpa Assigned To  => BusyBox
02-14-08 04:33 vda Status assigned => closed
02-14-08 04:33 vda Note Added: 0004624
02-14-08 04:33 vda Resolution open => fixed


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker