Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Mar 1996 12:59:59 +0000 (GMT)
From:      Gabor Zahemszky <zgabor@CoDe.hu>
To:        freebsd-questions@freebsd.org
Subject:   Re: How to delete strange filename
Message-ID:  <199603051300.NAA03138@CoDe.CoDe.hu>

next in thread | raw e-mail | index | archive | help
> The problem only is that sometimes the filename contains ctrl characters
> <cr>, backspace and such and you can't figure out what the filename really 
> is.

Not a big problem: the manual says, there is a -q option, force printing
of non-graphics characters in file names as a '?'.  This is the default when
output is to a terminal.  So -> don't use the -q option, and type:
ls -l | cat -tv (the output won't go to terminal, so -q won't be in the option
list, and cat -tv print non-graphics characters as ^X).  It's better in AT&T
Unices, where ls has an option (-b), which does the same thing, but use 
\octal instead of ^X.


-- 
	Gabor Zahemszky <zgabor@CoDe.hu>

-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-
Earth is the cradle of human sense, but you can't stay in the cradle forever.
						Tsiolkovsky



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199603051300.NAA03138>