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

Kata 35 "Running commands in shell" #12

Open
usr345 opened this issue Nov 28, 2024 · 2 comments
Open

Kata 35 "Running commands in shell" #12

usr345 opened this issue Nov 28, 2024 · 2 comments

Comments

@usr345
Copy link

usr345 commented Nov 28, 2024

OS: Ubuntu Linux 20.04
Vim version 9.0.749

I opened the file of kata 35 and executed this command: ":write !sh - will write this file (a vim command) and start a shell"

But instead of starting the shell I got the error:

:write !sh
sh: 3: 1.: not found
sh: 5: Syntax error: "(" unexpected

shell returned 2

Tried on another computer:

Linux Slackware 15.0
Vim version 9.0.2127

:write !sh

Press ENTER or type command to continue

But I see no shell. Is it the correct behavour? Should it start the sh process not showing me the prompt?
What should be the ideal behaviour for this command? What do you get?

@adomokos
Copy link
Owner

I've been using MacOS, I wonder if this is happening there.

@usr345
Copy link
Author

usr345 commented Nov 28, 2024

I've been using MacOS, I wonder if this is happening there.

Please, look and let me know.

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