On Thu, Dec 30, 2010 at 10:02 AM, Ted Unangst <ted.unan...@gmail.com> wrote: > On Wed, Dec 29, 2010 at 6:08 PM, Ingo Schwarze <schwa...@usta.de> wrote: >> I consider this a bug in security(8). >> >> The following is the best i could come up with so far; make sure >> to wear your sed-peril-proof sunglasses before reading the patch. >> >> This still mangles the file name, but at least you have a chance >> to find it on your disk. Anybody has a better plan? > > sed it back? assume blank is generally space, replace it with > __omgspace__, then after sorting, replace that with a single space? > It will still screw up for tabs and newlines, but I think spaces are a > lot more common.
what if the file name contains "__omgspace__"? :-)