Article View: es.comp.os.linux.programacion
Article #10475Re: Mas dudas sobre bash script :P
From: David Sotelo Fernandez
Date: Fri, 01 Mar 2002 13:21
Date: Fri, 01 Mar 2002 13:21
25 lines
1730 bytes
1730 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 01.03.2002, Angel Lis wrote in es.comp.os.linux.programacion
> >> Fale, seguimos con las preguntas "chungas",
> >> como ConyXX consigo saber el numero de caracteres de una varible??
> >> en el man pone que ${#var}, pero no tira :~(, estoy utilizando un bucle
> >> con el cut, pero a ver si alguien sabe como facerlo. Venga talugo.
aktin0s@zillion:~$ PRUEBA='1, 2, 3.. probando'
aktin0s@zillion:~$ echo ${#PRUEBA}
18
No te funciona as�?
Saludos.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
iD8DBQE8f39CJ/HgPjz2jQERAgF+AKCD2775/v71xqM2VpQCjOWFROsuyQCeMR3t
s3seTmEQpaPBy9qT2Yz5o6o=
=Tqup
-----END PGP SIGNATURE-----
Technical Details
Message-ID:
<58vn5a.l981.ln@gw.kn0wledge.lan>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!cm12441.telecable.ES!not-for-mailReferences:
<snKf8.40394$Q5.584806@telenews.teleline.es> <PFKf8.40735$Q5.588143@telenews.teleline.es> <MHKf8.40773$Q5.587795@telenews.teleline.es>Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII X-Google-Thread: f86c8,93a36f64772b96d6 X-Google-Attributes: gidf86c8,public X-Google-ArrivalTime: 2002-03-01 05:38:35 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!cm12441.telecable.ES!not-for-mail From: David Sotelo Fernandez <aktin0s@gmx.net> Newsgroups: es.comp.os.linux.programacion Subject: Re: Mas dudas sobre bash script :P Date: Fri, 1 Mar 2002 14:21:09 +0100 Lines: 25 Message-ID: <58vn5a.l981.ln@gw.kn0wledge.lan> References: <snKf8.40394$Q5.584806@telenews.teleline.es> <PFKf8.40735$Q5.588143@telenews.teleline.es> <MHKf8.40773$Q5.587795@telenews.teleline.es> NNTP-Posting-Host: cm12441.telecable.es (213.141.56.252) Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: fu-berlin.de 1014989913 9306735 213.141.56.252 (16 [99261]) X-Orig-Path: gw.kn0wledge.lan!nobody User-Agent: slrn/0.9.7.3 (Linux)