running java script from unix kshell

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Les

    running java script from unix kshell

    I need to execute an http get from a unix script (HPUX). I have
    access to a javascript that will do what I need. Can javascript be
    called from a kshell script, if so how would I do so? If not is there
    a easy conversion from javascript to java, so that I could compile &
    execute it as a java program?
  • Lee

    #2
    Re: running java script from unix kshell

    Les said:[color=blue]
    >
    >I need to execute an http get from a unix script (HPUX). I have
    >access to a javascript that will do what I need. Can javascript be
    >called from a kshell script, if so how would I do so? If not is there
    >a easy conversion from javascript to java, so that I could compile &
    >execute it as a java program?[/color]

    Javascript is poorly suited to executing an HTTP get.
    It's trivial in Perl or Java or you can use telnet directly.

    Google for
    "http get" telnet
    or
    "http get" perl

    Comment

    Working...