๐Ÿš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

problemas con getopt

#8214
From: quantium
Date: Mon, 25 Nov 2002 23:06
13 lines
1163 bytes
Hola a todos.
๏ฟฝconoceis alguna manera para hacer que un argumento se ejecute primero 
usando getopt?

Por ejemplo:
./programa -c azul -n pepe -e 18 -s hombre

Y yo quiero que el programa primero ponga:
Nombre pepe
(y despues ya me da igual)


Un saludo a todos y gracias :)
Technical Details
Message-ID: <aruae6$m6kim$1@ID-129971.news.dfncis.de>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!62.174.190.93!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII
X-Google-Thread: f86c8,5a5258144f7c2d4a,start
X-Google-Attributes: gidf86c8,public
X-Google-ArrivalTime: 2002-11-25 15:06:48 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!62.174.190.93!not-for-mail
From: quantium <quantium@lycos.es>
Newsgroups: es.comp.os.linux.programacion
Subject: problemas con getopt
Date: Tue, 26 Nov 2002 00:06:48 +0100
Lines: 14
Message-ID: <aruae6$m6kim$1@ID-129971.news.dfncis.de>
NNTP-Posting-Host: 62.174.190.93
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: fu-berlin.de 1038265607 23286358 62.174.190.93 (16 [129971])
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2b) Gecko/20021016
X-Accept-Language: en-us, en