[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [TEKNIK] Hvad betyder '--' ?



David Bo Jensen wrote:
> Hvis du ser på mit eksempel i starten, så kan jeg garantere dig at 
> "qmail-popup" ikke er den første parametre til
> /var/qmail/bin/qmail-popup
>   
Nej i dit eksembel er første parameter kukur

(dog vil /var/qmail/bin/qmail-popup findes i argv[0])

Per
>
>
> "Per Kofod" <sslug@sslug> skrev i en meddelelse 
> news:sslug@sslug
>   
>> David Bo Jensen wrote:
>>     
>>> -- indgår i syntaksen for stunnel. Se her:
>>>
>>>   stunnel [-c | -T] [-D [facility.]level] [-O a|l|r:option=value[:value]]
>>> [-o file] [-C cipherlist] [-p pemfile]
>>>        [-v level] [-A certfile] [-S sources] [-a directory] [-t timeout] 
>>> [-u
>>> ident_username] [-s setuid_user] [-g setâ
>>>        gid_group] [-n protocol] [-P { dir/ â filename â none } ] [-B 
>>> bytes]
>>> [-R randfile] [-W] [-E socket] [-I host]
>>>        [-d [host:]port [-f] ] [ -r [host:]port | { -l | -L } program [--
>>> progname args] ]
>>>
>>>
>>>       
>> Hvilket igen blot viser, at det der kommer efter -- er
>> parametre/argumenter til "program"
>>     
>>> Det er lidt uklart, hvad progname kan eller skal sættes til.
>>>       
> Der menes ikke "progname args" men derimod "progname" efterfulgt af "args"
>
>   
>> med "progname args" menes parametre/argumenter til kommandoen "program",
>> det som kommer efter -- er det som pases til programmet "program" i 
>> *argv[].
>>
>> Per
>>     
>>> Kan man f.eks have
>>>
>>> ....  -l /var/qmail/bin/qmail-popup  -- kukur ....
>>>
>>> Hvorefter qmail-popup kører med navnet kukur
>>>
>>>       
>> NEJ
>>     
>>>
>>>
>>>       
>>
>>     
>
>
>
>
>   



 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2009-10-01, 02:01 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *