Closed mathomp4 closed 2 years ago
Or it's picking up the horrible BSD sed that macOS comes with?
I believe it should work but this is likely it.
Would you be willing to brew install gnused?
sed --version
gsed (GNU sed) 4.8
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Jay Fenlason, Tom Lord, Ken Pizzini,
Paolo Bonzini, Jim Meyering, and Assaf Gordon.
This sed program was built without SELinux support.
GNU sed home page: <https://www.gnu.org/software/sed/>.
General help using GNU software: <https://www.gnu.org/gethelp/>.
E-mail bug reports to: <bug-sed@gnu.org>.
Perhaps we should detect and warn on the version
I'm closing this as I just tried the migrate script and it worked. Of course, I now need to figure out what to do after it ran...so confused. but that's for another issue!
Orb version:
Not sure how to answer...I guess 10 → 11??
What happened:
I was trying to follow the Migration Guide and got to the "run
migrate.sh
" step and:And if I look in the produced
.circleci/config.yml
file:I'm guessing those should have been sed'd to what I provided? (Note: I'm not even sure if what I provided was correct. I'm not an Orb expert...
Expected behavior:
I'm guessing no sed errors?
Additional Information:
I am on a macOS machine and perhaps this script assumes GNU sed? I mean, I do have GNU sed from Homebrew and I've symlinked my
sed
to be thegsed
from Homebrew:But maybe the script assumes something? Or it's picking up the horrible BSD sed that macOS comes with?