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

Count total files and folders of a drive powershell

Ctrl + A and right click properties in C:\ shows the number and size of all the files and folders of the drive. How should I do it in powershell?? I need the exact and count so that the output of the script shows the same result. I tried…
0
votes
1 answer

script error - cygwin -- pinging to host and checking is it alive or not?

I'm new to scripting. I downloaded cygwin and Notepad++(I'm using unix option-for writing and saving the ".sh files") I have below script Below code is from command $ cat -v pinging.sh #!/bin/bash target=$1 # email report when SUBJECT="Ping…
0
votes
1 answer

Simple scripting language for embing in program?

I would like to provide a very simple scripting interface for a program I'm working on. My program would expose some functions that could be called from the script. I don't need much, maybe just variables, if/else, and loops. The two most popular…
Ava
  • 2,038
  • 3
  • 23
  • 45
0
votes
2 answers

Quickest method to read lines from file1 and replace line tag in file2

Have two files file1 and file2. Their contents are: file1 - input Line1 Line2 Line3 Line4 file2 - input This is an introduction this is a line1 This is another intro
deepseefan
  • 3,701
  • 3
  • 18
  • 31
0
votes
1 answer

Do scripting languages use types behind the scenes?

I read that it is important to use types , as they have specific size of memory, which helps fetch the necessary chunk of memory and to also know how to interpret the data. Is this true? and if yes, this means that scripting languages use this…
Naughty.Coder
  • 3,922
  • 7
  • 32
  • 41
0
votes
2 answers

Bash - file n of $1?

I've done a few things with bash lately, mainly about audio files (sox batch scripts). I try to learn, I'm reading and reading and searching, but sometimes "simple" questions I have to address just lead me to some tons of lines, web pages, and…
sauna-l
  • 41
  • 2
0
votes
2 answers

Do perl, python or ruby run flawless flawless on 64bit system?

Do Perl, Python or Ruby run flawless on a 64bit Win7 system, or do you have to keep in mind pitfalls with integers and restriction on functions like I have read of on PHP?
0
votes
2 answers

Bash command line parsing containing whitespace

I have a parse a command line argument in shell script as follows: cmd --a=hello world good bye --b=this is bash script I need the parse the arguments of "a" i.e "hello world ..." which are seperated by whitespace into an array. i.e a_input() array…
Kailash Akilesh
  • 173
  • 2
  • 2
  • 7
0
votes
1 answer

powershell .\trialping.ps1 vs &".\trialping.ps1"

I have trialping.ps1 with below code param([string]$ip)start-job -ArgumentList $ip -scriptblock {param([string]$ip)& C:\users\pubic\desktop\PingMachine.ps1 -ip $IP} Above code creates a job which runs pingmachine.ps1 which basically pings a…
Vindhya G
  • 1,339
  • 2
  • 21
  • 46
0
votes
3 answers

How to use grep command to print value of a variable in a line?

For Example,consider the below line From above line, I need to print Start from FROMTASK ="Start" using grep command or using any command.
pyennamp
  • 11
  • 4
0
votes
1 answer

How do I change values in Rhinoscript in Rhino 3D?

I am using a script in Rhino to import files and and export them to AutoCAD .dxf-files. Before I export I want to change the Export Scheme option to R12 Natural or Default. I am using the following code line to open the AcadScheme dialog…
user2479356
0
votes
1 answer

PowerShell script that's supposed to work for current user only works for specific user

Ok so I'm having a weird error with the following script: $ErrorActionPreference = "silentlycontinue" Try { If (Test-Path \\Deploy\MyDocSize\live_docs_info.csv -PathType Leaf) { $runscript = Get-ChildItem "C:\Users\$env:username\Documents"…
ZEM
  • 21
  • 1
  • 10
0
votes
0 answers

Reading from kshell output in same file

I was trying to write a kshell script for displaying the output and searching something in the output and then displaying only that output. I tried doing the following: cv = print "blah blah kir kanj" read CV print "$cv" I think this would work.…
kyle
  • 103
  • 1
  • 8
0
votes
1 answer

Where can I find the Microsoft.Scripting.Debugging.dll?

since version 2.7, the Microsoft.Scripting.Debugging.dll is not shipped with IronPython any more. Where can I find it - or is there an alternative if I want to implement single stepping for IronPython? All example implementations that I found are…
LionAM
  • 1,271
  • 10
  • 28
0
votes
2 answers

Filemaker Scripting + MailChimp API

I am currently creating a CRM solution in Filemaker and would like to link the contacts with a Mailchimp List. I have a BG in Web development and am relatively new to scripting so I'm unsure exactly how to get started. Does Filemaker have a specific…
Cptn
  • 123
  • 1
  • 7