Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bad flag in substitute command: 'U' #98

Open
javierenciso opened this issue Aug 7, 2019 · 1 comment
Open

bad flag in substitute command: 'U' #98

javierenciso opened this issue Aug 7, 2019 · 1 comment

Comments

@javierenciso
Copy link

Hi
having this issue when installing via curl in mac osx:

bad flag in substitute command: 'U'

and installation halts.

RESOLVED:
I was naming my project with absolute path: sed fails when using forwardslash.

If I execute in parent directory where I want my new project it instllas correctly.

/best

@XiaoZiShan
Copy link

XiaoZiShan commented Mar 7, 2023

Sorry, I'm network not stable, reply not succeed before, please see following image.
image

sed -i '' "s/<pre>.*<\/pre>/<pre>($NEWNAME) $MD5<\/pre>/"~/Desktop/replace.html
replace to
sed -i '' "s~<pre>.*</pre>~<pre>($NEWNAME) $MD5</pre>~" ~/Desktop/replace.html

see url 1
see url 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants