Skip to content

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