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

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

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 :
#2

thanks a lot for the help
-Amit

Revision history for this message
avkapur (avkapur) said :
#3

This solved my problem

Revision history for this message
avkapur (avkapur) said :
#4

Thanks Curtis Hovey, that solved my question.

Revision history for this message
Endolith (endolith) said :
#5

You have to install gedit-plugins first.