Subject: Re: new option for ls(1): opposite of -q
To: None <>
From: Christos Zoulas <>
List: tech-userlevel
Date: 05/09/2001 13:38:26
In article <>,
Dieter Baron <> wrote:
>I have a slight problem with the addition of the -q option and making
>it the default for output to a tty: while quoting non-printable
>characters in file names is a good idea, as is making this the default
>for output to a tty, I miss the possibility to tell ls not to do so.
>(`ls -C | cat' can hardly be called a solution.)
>  Therefore, I propose a new option to keep ls from quoting
>non-printables; in the patch below that implements this, I've choosen
>-Q, but any other (unused) letter is just as well.
>  Any objections to this change?

There are two things I don't like about this patch. The first is not
avoidable but bothersome, and the second is fixable.

1. Yet another letter gets used as an opton to ls.
2. ls -qQ is different than ls -Qq