|
Home > Archive > Red Hat Topics > March 2005 > scripting language under Linux
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
scripting language under Linux
|
|
| cschang 2005-03-26, 2:45 am |
| Our company decided to migrate our current web program under the MS
platform to Linux ES 3 platform. I have a system montior application
writen by WSHost (basically VBscript) to read a log file (using
(SCripting.FileSystemObject) and send email (using CDOMessage object)
out for certain detail from the log file. Is there any similar program,
scripting program, allowing me to convert or rewrite that application
under the linux system? Linux is new to me no ideal where to start to
learn such program. Becasue the vbscript language provided by MS as a
package, so I could create that application in a simple way. I am
looking for a similar language package under the linux system. Can
Anyone offer some hints? Thanks.
C Chang
| |
|
| On Fri, 25 Mar 2005 22:39:54 -0500, a posting issued forth from cschang...
> Our company decided to migrate our current web program under the MS
> platform to Linux ES 3 platform. I have a system montior application
> writen by WSHost (basically VBscript) to read a log file (using
> (SCripting.FileSystemObject) and send email (using CDOMessage object)
> out for certain detail from the log file. Is there any similar program,
> scripting program, allowing me to convert or rewrite that application
> under the linux system? Linux is new to me no ideal where to start to
> learn such program. Becasue the vbscript language provided by MS as a
> package, so I could create that application in a simple way. I am
> looking for a similar language package under the linux system. Can
> Anyone offer some hints? Thanks.
>
This is a very general question. Without know what you are trying to do,
I would say that you should investige options in this order:
1) Bash (a shell script will go a *LONG* way)
2) PERL (extremely standard, *much* functionality)
3) Python (catching up to perl...)
4) Ruby, PHP, <insert everybody elses favorite scripting language here>
Basically, do your research, find the simplest tool for the job.
GL
--
Jacob
mailto:`echo wnpbo@urvqre.ubzryvahk.arg | tr [a-z] [n-za-m]`
| |
| cschang 2005-03-26, 5:46 pm |
| Jacob wrote:
> On Fri, 25 Mar 2005 22:39:54 -0500, a posting issued forth from cschang...
>
>
>
> This is a very general question. Without know what you are trying to do,
> I would say that you should investige options in this order:
>
> 1) Bash (a shell script will go a *LONG* way)
> 2) PERL (extremely standard, *much* functionality)
> 3) Python (catching up to perl...)
> 4) Ruby, PHP, <insert everybody elses favorite scripting language here>
>
> Basically, do your research, find the simplest tool for the job.
>
> GL
Thanks. Basically, i want to write a small application to read/write a
local txt (.log) file and send email under linux environment (RedHat).
I knew a little about Python, probably going that direction.
C Chang
| |
| Ivan Marsh 2005-03-28, 5:51 pm |
| On Sat, 26 Mar 2005 11:21:51 -0500, cschang wrote:
> Jacob wrote:
> Thanks. Basically, i want to write a small application to read/write a
> local txt (.log) file and send email under linux environment (RedHat). I
> knew a little about Python, probably going that direction.
I'd suggest looking into php (The small application you just described can
be written in a few lines of code.). ...though PERL and Python are also
good alternatives.
--
Life is short, but wide. -KV
|
|
|
|
|