shell-script-pt
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [shell-script] Tamanho de variavel


From: Daniel Duclos
Subject: Re: [shell-script] Tamanho de variavel
Date: Thu, 20 Sep 2001 18:48:28 -0300 (EST)

On Thu, 20 Sep 2001, # aurelio marinho jargas wrote:

> oi daniel,
>
> @ 20/9, Daniel Duclos:
> >     Eh possivel, na shell, limitar o tamanho de uma variavel que esta
> > sendo lida (read) a um numero maximo de caracteres, ou estou viajando?
>
>
> [/etc] read --help
> bash: read: illegal option: --
> read: usage: read [-ers] [-t timeout] [-p prompt] [-a array] [-n nchars] [-d 
> delim] [name ...]
>
> ok, não tem --help mas mostra o que se quer: -n   &:)
>
> bash2


        =) Re re! Brigado! ;)

        []s

Daniel Lobato Duclos - address@hidden - http://www.cybershark.net
---------------------------------------------------------------------------
Open Up Your Mind / And Go Your Own Way
(Sepultura - Breed Apart)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]