Closed davidwilby closed 2 weeks ago
Out of interest, could you post the config it generated on your system vs expected?
e.g. expected:
$ cat ~/.config/jugrc
[main]
jugdir=recent.%(jugfile)s
will_cite=True
My bad, I was in a rush and forgot to include it, it's the same but with a $
at the front:
$[main]
jugdir=recent.%(jugfile)s
will_cite=True
Running through the example usage I get the following error using bash 5.1.16
This is caused by usage of
echo
here:https://github.com/antarctica/simple-action-pipeline/blob/0f8092ab18972c976d9ba1ac56df210c76538b63/src/sap/utils.py#L125
@bnubald suggested using
printf
instead of echo, or alternatively using python as suggested by @matscorse would be a more os-invariant alternative.This is not a problem in bash 4.