On Thu, May 14, 2009 at 9:48 PM, Ryan Flannery <[email protected]>
wrote:
> On Thu, May 14, 2009 at 9:28 PM, Matthew Clarke <[email protected]> wrote:
>> Thu, May 14, 2009 at 08:47:46PM -0400, Ryan Flannery may have written:
>>
>>> I've been in similar situations countless times, but this one is
>>> throwing me a for a loop.
>>>
>>> I have a file that I'm trying to remove with non-printable characters
>>> in the name.  Additionally, some of the characters appear to be
>>> backspace/delete/etc.
>>>
>>> All my normal tricks with rm(1) fail.
>>
>> [ snip ]
>>
>> Even
>>
>>        # pwd
>>        /usr
>>        # rm -i -- ??????????*
>>
>> followed by very careful use of the y, n and Enter keys?
>>
>
> Nope.  Tried that, it failed too.

Sorry, I meant to expand upon this further...
with `rm -i`, when it came to the appropriate file, the output was
horribly mucked-up (see below), and even hitting 'y + Enter' for it
failed.

r...@tarski> rm -ri /usr/*
remove usr/X11R6? n
remove usr/bin? n
remove usr/games? n
remove usr/include? n
remove usr/lib? n
remove usr/libdata? n
remove usr/libexec? n
remove usr/lkm? n
remove usr/local? n
remove usr/mdec? n
remove usr/obj? n
remove usr/ports? n
remove usr/ports.tar.gz? n
remove usr/sbin? n
remove usr/share? n
~,u?}w=R1T)U7r5                                  +U\
remove usr/xobj? nEc?J9K%Mx/!...@ss,W7g?5Lc!{'O1@"
0,z? ^[[?1;2cy                             M}OWDt?Yw?rB~[*6t?0h|7<aBz_


the 'y' I entered is on that last line, before the big 'white space'
and the rest of the text.

the full output of `ls` in /usr/ was
r...@tarski> ls usr/
X11R6
bin
games
include
lib
libdata
libexec
lkm
local
mdec
obj
ports
ports-old
ports-old2
ports.tar.gz
sbin
share
src
xobj
?&?(jes|<?EV1$E%&!L???hDRO.NO:?bBc8Y???;S?????QSCK?4g?m(?_E?W]W-sn?>L,Lc!{'O?
1??@"??v"h)d?}?L?T+U\?~,u?}?w=R?`?1?T)U7r?5?Ec?J?`?9??K%Mx/!?f...@?s?s,W7g?5?
M}OW?Dt???`Yw?rB~[*?6t??0h|7<ak?Bz_??0,z

Reply via email to