[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: quanta [POSSIBLY UNSAFE]
From:       Mantia Andras <amantia () freemail ! hu>
Date:       2002-12-08 17:40:01
[Download RAW message or body]

On 2002. December 08., Sunday 19:01, Oswald Buddenhagen wrote:
> > As shell script should be able to be accepted as Quanta plugins, yes I
> > think I need the shell...
>
> no. set the executable bit on the script and it is treatet as any other
> program. you need a shell only if you need to expand shell metacharacter
> (variables, pipes/redirections) _at the command line_.

I made a simple shell script:
#!/bin/sh
ls -l $1

 Saved in a file, and set it to executable. Now, if I run without shell, it 
does not run, but running inside a shell runs well. Of course, this has $1 
inside, but we need such things.

Andras

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic