tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] command line parsing in scripts


From: Daniel Glöckner
Subject: Re: [Tinycc-devel] command line parsing in scripts
Date: Mon, 28 Apr 2008 18:31:27 +0200
User-agent: Mutt/1.4.2.1i

On Mon, Apr 28, 2008 at 04:22:42PM +0000, Joshua Phillips wrote:
> Since when can you only pass one argument to the interpreter? Try this:
>       #!/bin/echo -DTEST=1 -run
> Put it in a file, chmod +x and run it. You get -DTEST=1 -run ./filename". If 
> you don't, then there's a problem with your system, not the compiler. What 
> operating system are you using?

Try
#!/bin/ls a b c d e f g h i j k
instead.

I get
---------
/bin/ls: a b c d e f g h i j k: No such file or directory
./filename
---------
in Linux 2.4

  Daniel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]