In bash I could either do echo -e "a\tb" or echo a$'\t'b.
echo -e "a\tb"
echo a$'\t'b
How do you do this in fish?
\t, without quotes. Same thing for other control characters (\n for a newline, etc.).
\t
\n
Sign up using Google
Sign up using Facebook
Sign up using Stack Exchange
By posting your answer, you agree to the privacy policy and terms of service.
tagged
asked
12 months ago
viewed
50 times
active