yes, my question was about calling perl scripts. I didn’t state the platform
because it was a general question. However the platforms i’m interested in
are unix, linux and windows running cygwin so what has been suggested should
work on all those platforms.
regards
Zubin
···
-----Original Message-----
From: Henderson, Michael D [mailto:michael.d.henderson@lmco.com]
Sent: Wednesday, 25 September 2002 12:52 PM
To: ruby-talk@ruby-lang.org
Subject: RE: Newbie question: Calling a shell script from rubyI thought that Zubin’s original question was about calling
perl scripts.Don’t know why, but I also assumed that he was on a unix box.
I don’t know
if Windows has anything like the #! magic number.Mike
-----Original Message-----
From: GOTO Kentaro [mailto:gotoken@notwork.org]At Wed, 25 Sep 2002 09:39:20 +0900, > Henderson, Michael D michael.d.henderson@lmco.com wrote:
That works if foo.sh has “#! /usr/bin/env perl -” (or the
not-made-up
equivalent), which is very much highly recommended.Thanks for helpful supplementation. But why perl for foo.sh?
– Gotoken