LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Insert tab using echo (https://www.linuxquestions.org/questions/linux-newbie-8/insert-tab-using-echo-4175438864/)

Vthimmap 11-27-2012 12:39 AM

Insert tab using echo
 
Its needed to include tab in a line

The below line has to be displayed in the below format .
input : MDS server excepted version current version


/t is not working with echo . what else can be used.

TobiSGD 11-27-2012 12:42 AM

There may be two reasons why it is not working with echo:
1. It is \t, not /t
2. May be you have not used the -e option.

Vthimmap 11-27-2012 12:52 AM

sample line: MDS server excepted version current version

Vthimmap 11-27-2012 12:53 AM

Thanks a lot for correcting me.

its should be \t


All times are GMT -5. The time now is 03:51 PM.