« first day (2191 days earlier)      last day (1089 days later) » 

05:23
@OK-Validation I don't think it makes sense for us to relay a comment on your behalf, but why don't you simply ask here, or in the general Unix room /dev/chat?
basic sed questions should absolutely be acceptable here in the Bash room, or if it's not basic, maybe simply post a new question on Stack Overflow or unix.stackexchange.com
@EnthusiastiC try running it with bash -x but again, the problem is almost certainly not in Bash
@OK-Validation mklement0's profile page contains a few contact links if you really want to get in touch with them personally
 
6 hours later…
how import env variables from Json to bash?

file1.json
env.email_user="[email protected],[email protected]"

file2.sh
echo $email_user
 
3 hours later…
15:02
@ansh1 env. is not a valid variable name, are you trying to actually use Jenkins or something?
also your "JSON file" is not valid JSON
if you had something like
{"email_user": ["[email protected]", "[email protected]"]}
then you could extract the list with jq .email_user filename
and assign it to a variable with email_user=${jq .email_user filename)
you could do more elaborate jq expressions to flatten the list to a single string, or you could just save the value as a JSON string instead of a list if that's more convenient
with all these speculations, I will not further try to guess what you are actually trying to accomplish
you want echo "$email_user" with double quotes around the value, unless you specifically require the shell to perform wildcard expansion and whitespace tokenization on the value
@Queen k (deleted)
 
1 hour later…
16:17
@tripleee indeed. you already answered my question; the problem may refer to the amount of running time or lack of resources in the main cluster or the program which is a fortran program. The problem is far away from the script itself.

« first day (2191 days earlier)      last day (1089 days later) »