How to set 4 space tab in bash

前端 未结 5 862
囚心锁ツ
囚心锁ツ 2021-02-01 16:11

It look like set tabstop=4 in VIM, but I don\'t know how to set it in bash

for example:

echo -e \"1234567890\\t321\\n1\\t2\         


        
5条回答
  •  悲哀的现实
    2021-02-01 16:35

    You can use setterm to set this

    setterm -regtabs 4
    

    I put it in my .bash_profile but its not bash related specifically

提交回复
热议问题