-
Notifications
You must be signed in to change notification settings - Fork 65
Implement :ED
#146
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
Implement :ED
#146
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we be disabling ed command if it is not an interactive session?
It's unlikely that one would have ed in their sql script but should we be throwing error if that's the case?
The odbc sqlcmd allows |
Remember, |
@apoorvdeshmukh or @stuartpa do you have a working Linux or WSL instance to test this with? My WSL got broken with the Win11 upgrade. |
I have WSL instance. Will test this. |
On windows I do not see the interactive session being terminated after execution of SQL commands mentioned in editor via ed
On WSL I see this getting terminated and there are some whitespace characters thrown
|
:ed
is a system commandAlso, preserve blank lines from input.
Pre-fix:
ODBC:
With Fix: