Skip to content

translate: support combined stream redirection and append#40

Open
seruman wants to merge 1 commit intobouk:masterfrom
seruman:combined-stream-redirection
Open

translate: support combined stream redirection and append#40
seruman wants to merge 1 commit intobouk:masterfrom
seruman:combined-stream-redirection

Conversation

@seruman
Copy link

@seruman seruman commented Jan 17, 2025

There are probably some obscure syntax not compatible that I've yet to know, but it seems like the below cases are supported in fish:

echo 123 > /dev/null 2>&1
echo 123 &> /dev/null
echo 123 &>> /tmp/null
echo 123 2>&1 > /dev/null
echo 123 >> /dev/null 2>&1
echo 123 2> /dev/null
echo 123 2>> /dev/null
echo 123 > /dev/null 2> /dev/stderr
echo 123 >> /dev/null 2>> /dev/stderr

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

Successfully merging this pull request may close these issues.

1 participant