Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
2 votes
2 answers
92 views

I would like to inject to in docker bash file 2nd line (after #!/bin/bash -x) such a command: set -a && . .env && set +a. I've tried this inside source.sh: TEXT_INSERT='set -a &&...
0 votes
0 answers
56 views

I'm attempting to use bash to automate exiftool to apply metadata to my media. Because exiftool has to re-write the entire file everytime a tag is modified I want to run the command once per file. ...
2 votes
1 answer
96 views

I'm using Editor.js (which saves the HTML blocks as JSON) to create content on my website and it works great unless there is a " in the JSON value. Data insertion works correctly, but when ...
Oliver's user avatar
  • 21
1 vote
1 answer
59 views

I have this block of text. It comes from a subtitle file. 1[p]00:06:48,564 --> 00:06:50,814[p]Chúng ta đâu cần bận tâm vì bị đuổi khỏi trường.[pp]2[p]00:06:50,864 --> 00:06:53,914[p]...
8 votes
2 answers
155 views

In R, I have some rather unusually formatted strings in a data.frame column that I would like to split by commas (i.e., each element of the column is a string of individual values separated by commas; ...
0 votes
1 answer
116 views

The context is that I want to write a /tmp/policy.hcl file inside a HashiCorp Vault container from a remote machine that I can then use to write a policy. I am struggling to preserve the double quotes ...
atye's user avatar
  • 119
2 votes
1 answer
134 views

I have the following command that I need to run from a batch file: PowerShell -Command "Start-Process cmd -ArgumentList '/C "MKLINK /D "C:\Folder With Spaces\Another Folder" "%...
1 vote
2 answers
545 views

I have the following text in a file Title: ├® Standard Title: ├® Roarinc Title: EaglesÔÇÖ Nest. I want PowerShell to normalise this by removing things like "├®" and "ÔÇÖ", but ...
-1 votes
2 answers
117 views

In a rather large project, I run into the following problem: while calculating the correct command in a bash script, I don't manage to make the script respect the double quote necessary for single ...
0 votes
2 answers
191 views

Terraform = v1.8.2 AWS Provider = >= 5.30 from hashicorp/aws Trying to use terraform to create an AWS resource name to include the date+time it was created. This is to serialize the resource for ...
0 votes
1 answer
94 views

I am neither a seasoned VBScript or PS scripting specialist. My monitoring system has a controlling VBScript for opening support tickets, and it now needs to change to accommodate JSON output posted ...
0 votes
1 answer
67 views

I've tried multiple ways with escapes. I need to utilize php code because in the end there endpoints will be variables. I've read multiple solutions and things like starting and ending php does work, ...
1 vote
1 answer
93 views

I have following simplified code: set getevent [exec "show running-config | section UPDATESCRIPTS"] set geteventsplit [split $getevent "\n"] foreach entry $geteventsplit { if {[...
-1 votes
1 answer
117 views

I would like to match all the occurrences of / that are not included in quotes (i.e. "). For e.g, this would be the result of the matches HKEY/"SOFTWARE"/"test/123"/ HKEY/&...
3 votes
2 answers
108 views

I'm trying to generate a flowchart with Haskell and the Graphviz binding. I want to create edge between nodes with records as it is possible to do it : https://graphviz.org/doc/info/shapes.html. I ...

15 30 50 per page
1
2 3 4 5
...
144

AltStyle によって変換されたページ (->オリジナル) /