Need help reading a file with unusual name(s)
Sam Bassett RCD
samlb at pioneer.arc.nasa.gov
Tue Apr 18 15:58:37 AEST 1989
Nahhhh -- the '\033' is an Escape character, so using an extra
backslash will only get another odd file.
What I would try is editing a junk file:
'vi junk'
then doing a:
:r maps^V<Esc>w
to read in the file (^V is the vi "literal escape"), and then type:
:1,$w! new.maps
and back out with
:q!
Then get rid of the old file with:
rm map*
and change rename the file you wrote:
mv new.maps maps
Viola!
Sam'l Bassett, Sterling Software @ NASA Ames Research Center,
Moffett Field CA 94035 Work: (415) 694-4792; Home: (415) 454-7282
samlb%well at lll-crg.ARPA samlb at pioneer.arc.nasa.gov
<Standard Disclaimer> := 'Sterling doesn't _have_ opinions -- much less NASA!'
More information about the Comp.unix.questions
mailing list