Trying to append a import file path to files, doesn't work, and here is a simple repro:
I tried haha="a/b/c/d/e"; sed -i '1s/^/"'$haha'"\n/' /tmp/processing.sh;
, it doesn't work, and gave me this error:
sed: -e expression #1, char 9: unknown option to `s'
Can anyone help with this?