Bash: echo, \t

nick3499
1 min readFeb 19, 2017

--

echo appends newline by default. To disable newline, include the -n flag. \t tab separates characters. -e flag applies escape sequences.

#!/bin/bashecho -e "a\tb\tc\td\te"

Script above prints the following tab-separated characters:

a b c d e

--

--

nick3499
nick3499

Written by nick3499

coder of JavaScript and Python

No responses yet