Article View: es.comp.os.linux.programacion
Article #6586Instruccion IF en BASH
From: Bypper
Date: Fri, 06 Jun 2003 18:21
Date: Fri, 06 Jun 2003 18:21
15 lines
1504 bytes
1504 bytes
Sabeis como seria la instruccion IF de BASH con AND? me canta error de todas, todas :-( if [ $VARIABLE -eq 4 and $VARIABLE -eq 1 ]; then loquesea fi y he probado otras variantes pero nada -- Agur, Alberto "Daria todo lo que se, por la mitad de lo que ignoro."
Technical Details
Message-ID:
<20030606182107.3a4e80f9.bypper@tomate.fadlan.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!feed.news.nacamar.de!fu-berlin.de!uni-berlin.de!227.red-80-34-69.pooles.rima-tde.NET!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII-7-bit X-Google-Thread: f86c8,a4f2f52955aaa8ff,start X-Google-Attributes: gidf86c8,public X-Google-ArrivalTime: 2003-06-06 09:20:56 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!feed.news.nacamar.de!fu-berlin.de!uni-berlin.de!227.red-80-34-69.pooles.rima-tde.NET!not-for-mail From: Bypper <bypper@tomate.fadlan.com> Newsgroups: es.comp.os.linux.programacion Subject: Instruccion IF en BASH Date: Fri, 6 Jun 2003 18:21:07 +0000 Organization: MICA, S.A. Lines: 15 Message-ID: <20030606182107.3a4e80f9.bypper@tomate.fadlan.com> NNTP-Posting-Host: 227.red-80-34-69.pooles.rima-tde.net (80.34.69.227) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: fu-berlin.de 1054916455 12811448 80.34.69.227 (16 [131209]) X-Orig-Path: 127.0.0.1!nobody X-Newsreader: Sylpheed version 0.7.4 (GTK+ 1.2.10; i386-debian-linux-gnu) X-Face: "A1)Lg/`9S.EhA3fB]Ov1ei`U}b8FIKn0?R$'>8nr:p;Oi~ZGQ0V#l#bP8(}S?80UL;^?T$J<mM$K1pxJp,6SI\fd/[zzat03&h2-\2Qffk1,kt|Lvs@;(p>Au*_,'djl~5FH_tI*ri&W*&jVtMu}Cy$W*"0Jn.~S0PXW\2/:lB/.x.FOrxPMnF`jb?c