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

Shell commands containing "|" get input redirection inserted before "|" on Windows #1743

Closed
rubystallion opened this Issue Jun 3, 2017 · 1 comment

Comments

Projects
None yet
3 participants
@rubystallion

rubystallion commented Jun 3, 2017

If I execute the ex command %!perl -lpE "s/a|b/c/" in a freshly installed Vim 8.0.586 under Windows 10, a command line opens with the generated command
C:\WINDOWS\system32\cmd.exe /c (perl -lpE ^"s/a ^<C:\Users\Jo\AppData\Local\Temp\VIi83B6.tmp ^|b/c/^" ^>C:\Users\Jo\AppData\Local\Temp\VIo83B7.tmp 2^>^&1)
which inserts the input redirection incorrectly before the vertical bar character.

@Houl

This comment has been minimized.

Show comment
Hide comment
@Houl

Houl Jun 3, 2017

As a workaround, try not using temp files: :set noshelltemp.

Houl commented Jun 3, 2017

As a workaround, try not using temp files: :set noshelltemp.

@brammool brammool closed this in 0664089 Oct 9, 2018

janlazo added a commit to janlazo/neovim that referenced this issue Oct 10, 2018

vim-patch:8.1.0468: MS-Windows: filter command with pipe character fails
Problem:    MS-Windows: Filter command with pipe character fails. (Johannes
            Riecken)
Solution:   Find the pipe character outside of quotes. (Yasuhiro Matsumoto,
            closes vim/vim#1743, closes vim/vim#3523)
vim/vim@0664089

janlazo added a commit to janlazo/neovim that referenced this issue Oct 10, 2018

vim-patch:8.1.0468: MS-Windows: filter command with pipe character fails
Problem:    MS-Windows: Filter command with pipe character fails. (Johannes
            Riecken)
Solution:   Find the pipe character outside of quotes. (Yasuhiro Matsumoto,
            closes vim/vim#1743, closes vim/vim#3523)
vim/vim@0664089

justinmk added a commit to neovim/neovim that referenced this issue Oct 10, 2018

vim-patch:8.1.0468: MS-Windows: filter command with pipe character fa…
…ils (#9101)

Problem:    MS-Windows: Filter command with pipe character fails. (Johannes
            Riecken)
Solution:   Find the pipe character outside of quotes. (Yasuhiro Matsumoto,
            closes vim/vim#1743, closes vim/vim#3523)
vim/vim@0664089

HiPhish pushed a commit to HiPhish/neovim that referenced this issue Oct 11, 2018

vim-patch:8.1.0468: MS-Windows: filter command with pipe character fa…
…ils (neovim#9101)

Problem:    MS-Windows: Filter command with pipe character fails. (Johannes
            Riecken)
Solution:   Find the pipe character outside of quotes. (Yasuhiro Matsumoto,
            closes vim/vim#1743, closes vim/vim#3523)
vim/vim@0664089

ntak added a commit to ntak/vim that referenced this issue Oct 12, 2018

patch 8.1.0468: MS-Windows: filter command with pipe character fails
Problem:    MS-Windows: Filter command with pipe character fails. (Johannes
            Riecken)
Solution:   Find the pipe character outside of quotes. (Yasuhiro Matsumoto,
            closes vim#1743, closes vim#3523)

ntak added a commit to ntak/vim that referenced this issue Oct 19, 2018

patch 8.1.0468: MS-Windows: filter command with pipe character fails
Problem:    MS-Windows: Filter command with pipe character fails. (Johannes
            Riecken)
Solution:   Find the pipe character outside of quotes. (Yasuhiro Matsumoto,
            closes vim#1743, closes vim#3523)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment