🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #10369

Re: Mas dudas sobre bash script :P

#10369
From: Angel Lis
Date: Fri, 01 Mar 2002 12:41
19 lines
1553 bytes
Angel Lis wrote:

> 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.
> 

vale, con un simple

#echo $var | wc -c -

sale :P, joer, si esq toy quemao

PD: te devuelve los caracteres +1!!

-- 
-Liso-
Linux has you...
Technical Details
Message-ID: <PFKf8.40735$Q5.588143@telenews.teleline.es>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!213-98-91-117.uc.nombres.ttd.ES!not-for-mail
References: <snKf8.40394$Q5.584806@telenews.teleline.es>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII-7-bit
X-Google-Thread: f86c8,93a36f64772b96d6
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2002-03-02 05:23:09 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fu-berlin.de!uni-berlin.de!213-98-91-117.uc.nombres.ttd.ES!not-for-mail
From: Angel Lis <a.lis@bussitel.es>
Newsgroups: es.comp.os.linux.programacion
Subject: Re: Mas dudas sobre bash script :P
Date: Fri, 01 Mar 2002 12:41:19 GMT
Organization: Terra Networks
Lines: 19
Message-ID: <PFKf8.40735$Q5.588143@telenews.teleline.es>
References: <snKf8.40394$Q5.584806@telenews.teleline.es>
Reply-To: a.lis@bussitel.es
NNTP-Posting-Host: 213-98-91-117.uc.nombres.ttd.es (213.98.91.117)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7Bit
X-Trace: fu-berlin.de 1015075231 9316162 213.98.91.117 (16 [63420])
X-Orig-Path: julieta.escomposlinux.org!helvete!telenews.teleline.es!not-for-mail
User-Agent: KNode/0.4
X-Received-Date: Fri, 01 Mar 2002 13:41:19 MET (telenews.teleline.es)