Questions tagged [scripting-language]

A scripting language or script language is a programming language that supports the writing of scripts, programs written for a software environment that automate the execution of tasks which could alternatively be executed one by one by a human operator.

A scripting language or script language is a programming language that supports the writing of scripts, programs written for a software environment that automate the execution of tasks which could alternatively be executed one by one by a human operator.

Scripts can be written and executed on the fly, without explicit compile and link steps; they are typically created or modified by the person executing them. A scripting language is usually interpreted from source code or bytecode. By contrast, the software environment the scripts are written for is typically written in a compiled language and distributed in machine code form; the user may not have access to its source code, let alone be able to modify it.

For more information see Wikipedia Entry about Scripting language

275 questions
0
votes
1 answer

How do i remove the content between two patterns on multiple lines using sed?

This is the input hai people we had a lot of fun writing scri pts We will have more tomorrow Hurray! Need to have hai people we had writing scripts We will have…
0
votes
1 answer

Script to append timestamp prefix to variable

I've got a Thunar script with this only line: cp "$@" "$@-$TS".txt it appends a timestamp suffix and the .txt extension to the file I right-click in Now, I want to append a timestamp prefix and also add the .txt extension, but it doesn't work: cp…
0
votes
6 answers

Scripting language for .net which supports yield and saving the state of the vm

Is there an embeddable scripting language for .Net which supports some kind of yield (program stops and yields control back to host... With next run it continues where it left off)? Furthermore it should be possible to save the state of the vm, and…
Toad
  • 15,593
  • 16
  • 82
  • 128
0
votes
0 answers

Callback when a property is added to an object in Dart

I'm currently evaluating Dart as an embedded scripting language. Our current Lua setup allows us to react on newly added or changed properties via metamethods, which we need for dynamic reloading. Is there something similar for the Dart language?…
Azurea-99
  • 11
  • 2
0
votes
1 answer

When I click in Submit Button my data is not coming in excel sheet

I am using these code. I have saved these file named (Book.html). When I am opening Internet Explorer then I fill the form but my form data is not coming in excel sheet. Which entry I fill in HTML webpage.It should automatically come in excel…
0
votes
1 answer

Javascript vs BeanShell?

what are the pros and cons of using Javascript vs BeanShell ? Like how is it different as BeanShell is also a Java-like scripting language. Also which would be better for using in macros.
Divya
  • 1,577
  • 3
  • 12
  • 8
0
votes
2 answers

File.rename throwing invalid argument error in Ruby script to rename all files in directory

I'm attempting to write a script that will take in a directory path to a folder, and rename all the files in that folder to a name plus a number. For instance, rename img_0936.JPG, img_0937.JPG to hockeyPic_001.JPG and hockeyPic_002.JPG. So here's…
0
votes
1 answer

sed match first occurrence of string, append file content

Having some trouble with sed outputting what I want: I have my file contents (idmap): idmap config .... idmap config .... File being written to (testing) [global] [global] I used the following sed command:- sed '/\[global\]/ r idmap'…
user985644
  • 11
  • 3
0
votes
0 answers

Does this text resembles any script language?

According to a laboratory instrument (OS: windows 2000) manufacturer's guidelines , result print format can be edited with an limited set of operators an tags like: @PATNUM/14 Patient identification number @PATNAM/33 Patient name @SSEX/1 …
4r45h
  • 23
  • 2
0
votes
1 answer

C# Scripting - advice required please

I am developing an application to carry out pre-defined "tasks" on MSSQL database tables. It is really a tool to help with some repetitive data conversion/import tasks we have. In its SIMPLEST form it could be an "instruction" acting on a table ie.…
0
votes
1 answer

I need to repalce a column with its correspoding MD5 value using unix shell scripting

This is my code from previous posts, but it's not working with other delimited files. Can you please help me in modifying this below script for any other delimited files? awk '{ tmp="echo " $2 " | openssl md5 | cut -f2 -d\" \"" tmp | getline…
ramesh
  • 21
  • 1
  • 6
0
votes
3 answers

Ubuntu Shell Script giving wrong output

I'm trying to learn basics of shell scripting when I run the following code my terminal return "None of the condition met" but when I run it on an online shell I get "a is equal to b" can anyone explain the reason for…
Shashank K
  • 388
  • 4
  • 13
0
votes
1 answer

Is there such a thing as an embedded batch language?

I was recently looking through a configuration file for a game I was playing, when it struck me how much the language used in the configuration file resembled a batch language with each line formulated as a command, how simple the syntax was and how…
0
votes
1 answer

Perl command not being executed as part of a script

I have a Perl script wrapper.pl with a piece of code that looks like this: if (-e "$run_dir/fd3d/VrtMsgBus.txt") { print "VRTMSGBUS: non scalablity mode VrtMsgBus.txt exists\n"; $conf->{'script_list'}{'vrt_scalability'} = { …
chmod
  • 85
  • 1
  • 9
0
votes
1 answer

need to read IP from a text and set manually on centos

i have 10 IP which have been listed on a CSV or text file , i need to read each time one line and get the IP and set on eth0 interface of the server, i found the bellow script which some how show me how to create new network setting but i do not…