Renato Alvim wrote:
On Wednesday 02 March 2005 15:18, Thadeu Penna wrote:
Renato Alvim wrote:
Veja o exemplo a seguir.
Quero listar os arquivos de um diret�rio em colunas.
No man ou no help aparece a seguinte informa��o :
-w, --width=COLS assume screen width instead of current value
Tentei de tudo e nada funciona.
Tudo d� erro.
Os man deveriam ter exemplos, um ao menos.
Aqui funciona perfeitamente:
ls -w80 para oitenta colunas
ls -w40 usa a metade da tela
w � a largura da tela (screen width) n�o o n�mero de colunas que voc�
quer...
Ent�o porque a v�rgula?
Veja as minhas tentativas.
A v�rgula � padr�o das man pages: op��o -w OU (,) --width
Veja na manpage do ls
-a, --all
-B, --ignore-backups
-d, --directory
etc..
E veja essa :
[EMAIL PROTECTED]:/home/renato# ls --widht=40
ls: op��o n�o reconhecida `--widht=40'
width (com th de Thadeu :) e n�o widht (com ht de hyperthreading)
Agora, se � sem v�rgula, ou seja , a v�rgula era para separar e dar a
costumeira op��o que n�o funciona...
--
___ _ .''`.
| |_ _. _| _ |_) _ ._ ._ _. : :' :
| | |(_|(_|(/_|_| | (/_| || |(_| `. `'`
Linux User #50500 `-
Prof.Adjunto - Instituto de F�sica ---Debian-
Universidade Federal Fluminense Alpha/i386
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]