From owner-freebsd-questions Tue Mar 5 04:17:32 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id EAA23576 for questions-outgoing; Tue, 5 Mar 1996 04:17:32 -0800 (PST) Received: from mail.EUnet.hu (mail.eunet.hu [193.225.28.100]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id EAA23569 for ; Tue, 5 Mar 1996 04:17:24 -0800 (PST) Received: by mail.EUnet.hu, id NAA12304; Tue, 5 Mar 1996 13:17:16 +0100 Received: by CoDe.CoDe.hu (NAA03138); Tue, 5 Mar 1996 13:00:00 GMT From: Gabor Zahemszky Message-Id: <199603051300.NAA03138@CoDe.CoDe.hu> Subject: Re: How to delete strange filename To: freebsd-questions@freebsd.org Date: Tue, 5 Mar 1996 12:59:59 +0000 (GMT) X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org Precedence: bulk > The problem only is that sometimes the filename contains ctrl characters > , 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 -:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:-:- Earth is the cradle of human sense, but you can't stay in the cradle forever. Tsiolkovsky