On 05/22/2012 04:00 PM, Dirk Gently wrote:
Once you set the executable bit on a script with an interpreter defined on the first line with the #!/path/to/interpreter mechanism, there's no reason to write bash foo nor python parrot for that file ever again.
I ALWAYS chmod my shell scripts, and then just use them as if it were any other executable.
Yes, You are correct. For the scripts I use regularly, I make them executable and create softlinks to /usr/local/bin and insure it is in my path. But for test scripts, etc.. I admit, I generally just call sh 'whatever' until I put them somewhere for permanent use... /usr/local/bin, crontab, etc.. No rhyme or reason to it other than that. -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org