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

Shell pipe not working when not surrounded by spaces #11076

Closed
aryzing opened this issue May 14, 2024 · 0 comments · Fixed by #11165
Closed

Shell pipe not working when not surrounded by spaces #11076

aryzing opened this issue May 14, 2024 · 0 comments · Fixed by #11165
Assignees
Labels
bug Something isn't working shell Something to do with Bun as a shell

Comments

@aryzing
Copy link

aryzing commented May 14, 2024

What version of Bun is running?

1.1.8

What platform is your computer?

Linux 6.8.0-31-generic x86_64 x86_64

What steps can reproduce the bug?

The following command works when used in the terminal, but fails in bun when used with $,

echo "deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg] https://brave-browser-apt-release.s3.brave.com/ stable main"|sudo tee /etc/apt/sources.list.d/brave-browser-release.list

Seems the issue is that there is no space arround the | character. When surrounded by space, it works fine in bun. Is it a bug in bun or is the pipe requried to have surrounding space?

What is the expected behavior?

Output should be piped.

What do you see instead?

No output is piped, the target file is blank.

Additional information

This is one of a series of commands used to install Brave on Ubuntu

@aryzing aryzing added the bug Something isn't working label May 14, 2024
@Electroid Electroid added the shell Something to do with Bun as a shell label May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working shell Something to do with Bun as a shell
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants