flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
arafel 22 Mar 2007, 18:50
|
|||
![]() |
|
vid 22 Mar 2007, 19:20
very good article, thanks.
However, i am not much smarter now: Quote: The special argument '--' indicates the end of all options. Any subsequent arguments on the command line are treated as operands, even if they begin with a dash. what "operands"? could you give some example please? |
|||
![]() |
|
arafel 22 Mar 2007, 19:40
Suppose 'app' executes '/bin/ls':
./app -a -- /bin/ls -l '-a' will be treated as an option by app, but '-l' will be passed to ls. |
|||
![]() |
|
vid 22 Mar 2007, 19:45
got it, thanks.
so everything behind "--" should be treated literary... thanks |
|||
![]() |
|
f0dder 22 Mar 2007, 22:51
...including opening a file starting with a dash without prefixing with ./
|
|||
![]() |
|
vid 22 Mar 2007, 23:11
f0dder: doesn't matter for me. My library will only process args meant for current application, eg. only up to "--"
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.