Article View: es.comp.os.linux.programacion
Article #12224BASH
From: Francisco F. Artese
Date: Thu, 16 Aug 2001 21:20
Date: Thu, 16 Aug 2001 21:20
31 lines
1735 bytes
1735 bytes
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hola amigos:
Es posible convertir una variable literal a num๏ฟฝrica:
Si tengo:
h=echo "date" | cut -f4 -d" " | cut -f1 -d":"
Como transformo $h para poder hacer $h + 1000 ????
si hago VALOR=$[($h+1000] no funca ;-(
Saludos
- --
Iniciando Windows ME... AMIBIOS v2.8. 65535Kb OK. Iniciando Windows ME...
==============================================================
Francisco F. Artese - Linux user #174223 - ICQ #17693614
Linux Debian Potato 2.2 and IceWM 1.0.3
LAS MALVINAS SON ARGENTINAS!
==============================================================
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE7fDkCkdq1r8MtrroRAnEMAJ99iitPZxdORMUxWe6bINXmG44UXwCgmnLN
3h4N9zuPwYnKXgmIczpdLw4=
=gLXu
-----END PGP SIGNATURE-----
Technical Details
Message-ID:
<3edhl9.ec3.ln@127.0.0.1>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!200.68.207.96!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: f86c8,b00c3e5185002391,start
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2001-08-16 14:32:24 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!200.68.207.96!not-for-mail
From: "Francisco F. Artese" <frank@artese.com.ar>
Newsgroups: es.comp.os.linux.programacion
Subject: BASH
Date: Thu, 16 Aug 2001 18:20:03 -0300
Lines: 31
Message-ID: <3edhl9.ec3.ln@127.0.0.1>
NNTP-Posting-Host: 200.68.207.96
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: fu-berlin.de 997996940 10005049 200.68.207.96 (16 [42069])
X-Orig-Path: not-for-mail
User-Agent: tin/1.5.8-20010221 ("Blue Water") (UNIX) (Linux/2.2.17 (i686))