Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 alpha 4/15/85; site ucbvax.ARPA Path: utzoo!utcs!lsuc!pesnta!hplabs!ucbvax!schoch From: schoch@ucbvax.ARPA (Steve Schoch) Newsgroups: net.unix Subject: Re: Funny file names Message-ID: <6968@ucbvax.ARPA> Date: Mon, 13-May-85 13:02:34 EDT Article-I.D.: ucbvax.6968 Posted: Mon May 13 13:02:34 1985 Date-Received: Tue, 14-May-85 05:34:26 EDT References: <279@eneevax.UUCP> Distribution: net Organization: University of California at Berkeley Lines: 11 Summary: ls can print control characters In article <279@eneevax.UUCP>, phaedrus@eneevax.UUCP (The Sophist) writes: > What happens if one (by mistake) creates a file called `ctl-foo' and one > didn't know that this was happening. The next time they did an `ls' > of that directory they'd get a `?' and it would be impossible to remove > because they don't know the name. > > Can someone explain this to me? You can say "ls | cat -v". Ls will print the control characters when its output is not a terminal. Steve Schoch