need to make a file tab separated

Asked by avkapur

I need a text file of mine to be tab separated and I'm not sure how to get it into that format.

Question information

English Edit question
Ubuntu gedit Edit question
No assignee Edit question
Solved by:
Curtis Hovey
Last query:
Last reply:
Revision history for this message
Best Curtis Hovey (sinzui) said :

I guess you are asking how can you see the tabs, and can you find text and replace with tabs?

I suggest you enable the Draw Spaces plugin which also draws tabs:
Choose Edit > Preferences from the Gedit menu.
Choose the Plugins tab, then select Draw Spaces.
Choose the Configure Plugin button and verify that Draw tabs is selected.

You can toggle the display spaces and tabs from the menu:
Choose View > Show White Space.

Tabs are represented by an arrow.

Gedit uses an escaped-t (\t) in find and replace to represent the tab character. For example, you can change a comma delimited file into a tab delimited file:
Choose Search > Replace from the Gedit menu.
Enter ',' in the Search for field.
Enter '\t' in the Replace with field
Choose either Replace or Replace All to change the text to tabs.

Revision history for this message
avkapur (avkapur) said :

thanks a lot for the help

Revision history for this message
avkapur (avkapur) said :

This solved my problem

Revision history for this message
avkapur (avkapur) said :

Thanks Curtis Hovey, that solved my question.

Revision history for this message
Endolith (endolith) said :

You have to install gedit-plugins first.