python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
How to use variable in sh curl groovy using quotest?
i have a script
Date date = new Date()
String datePart = date.format("yyyy-MM-dd HH:mm:ss")
sh "curl 'www.link.com' --json '{"datas": "${datePart}"}'"
result ...

German Varanytsya
Votes: 0
Answers: 1
Multi line Parameter Overrides Following Parameter - Bash
I have a bash script that takes input of a multiline string from another bash script. For example it may look something like this
hello
world
if I assign the above string to a variable and pass it as...
wowza_MAN
Votes: 0
Answers: 0
use array element with spaces in key inside heredoc
I'm pulling data from a MySQL database and getting the result as an associative array but the fields in the database have space so I have to access the array element with spaces in the key, now that i...
MOHAMMAD RASIM
Votes: 0
Answers: 1
PowerShell: escaping rules for CLI calls
As I have learned, when invoking PowerShell from cmd.exe, with the -Command option, escaping rules are essentially those used in Linux. So you use a backslash (\), rather than the usual backtick (`).
...

antonio
Votes: 0
Answers: 1