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

default delimiter for directories and sed? #263

Open
oldpink opened this issue Feb 9, 2021 · 0 comments
Open

default delimiter for directories and sed? #263

oldpink opened this issue Feb 9, 2021 · 0 comments

Comments

@oldpink
Copy link

oldpink commented Feb 9, 2021

I realize that GOW is no longer being maintained, but I might actually have some real world use for it, but there is a rather annoying issue when using my Bash scripts that primarily use sed to process streams of data using mostly the '/' character as the delimiter on the lines that invoke sed.
When I use the unmodified scripts, I get this:
sed.exe: -e expression #1, char 1: unknown command: C' sed.exe: -e expression #1, char 1: unknown command: C'
sed.exe: -e expression #1, char 1: unknown command: `C'

I have done some looking around that seems to indicate that this is related to the version of Bash used in GOW ported to deal with Windows-style directory delimiters (""), so I was able to get my scripts by replacing all "/" with a different delimiter.
However, I still would prefer to use my unmodified scripts, but I don't know how to do that, unless I can either 1) get the source code for the version of Bash used, somehow figure out how to modify the source to change this, then recompile, or 2) use (assuming one is even available) some kind of command-line switch or variable to change this behavior on demand.
Does anyone know of a way to modify this behavior, preferably with the second option?
Thanks

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

1 participant