Skip to main content

Questions tagged [tabulation]

Tabulation (or tab for short) is a horizontal whitespace that adjusts to a column width.

Filter by
Sorted by
Tagged with
1 vote
1 answer
107 views

I use expand to expand tabs to spaces. For utf8 files expand doesn't work correctly. E.g. in ć\ta tab is expanded to 6 spaces while in a\ta to 7 spaces. How do I make it work for utf8 files?
Marcin Król's user avatar
11 votes
4 answers
11k views

I have a .tsv file (values separated by tabs) with four values. So each line should have only three tabs and some text around each tab like this: value value2 value3 value4 But it looks that some ...
TGar's user avatar
  • 307
0 votes
1 answer
337 views

I tried to change all the indentation settings to fix another problem yesterday, but now I have the following problem and I don't know which setting causes it. If I select lines and type Tab, I would ...
optical's user avatar
  • 147
0 votes
0 answers
109 views

While ssh-ing into my server I want to be able to monitor for activity over certain port using netstat. Instead of running it manually I want to automate it with watch. While the command (sudo netstat ...
KubaFYI's user avatar
  • 113
0 votes
1 answer
554 views

I'm looking for all tabs between two quotation marks with grep / egrep in a bash. I tried grep -r . -e "\".*\t.*\"" grep -r . -e "\".*\\t.*\"" grep -r . -e "\".*\\\\t.*\"" grep -r . -e '\".*\t.*\"' ...
Thomas Sablik's user avatar
0 votes
1 answer
5k views

In this command : cut -f2 -d$'\t' ('\t') what is it mean ? i saw it another question, i got the idea about "tab" delimiter but still want to know '\t' shortcut or sign or command for something How ...
MAX LEARNING's user avatar
3 votes
1 answer
365 views

I'd like to tabularize a file with the column command: $ column -c 60 file.txt The output is nice on the screen, but unusable for my purposes because the items are seperated by tabs. for further ...
René Nyffenegger's user avatar
4 votes
1 answer
777 views

I've already read some explananations about unexpand, but either I don't understand, or is not working as expected. Let's consider the following example: [root@hope log]# echo "A12345678B" | tr '[1-...
sebelk's user avatar
  • 4,689
0 votes
2 answers
3k views

I can resolve this problem, but I don't understand why it happens. My task is: (in ksh) 1st step: Query a number from a DB with sqlplus, 2nd step: Format some text for a mail, 3rd step: send a mail ...
Apex's user avatar
  • 3
13 votes
5 answers
6k views

I've got multiple-line text files of (sometimes) tab-delimited data. I'd like to output the file so I can glance over it - so I'd like to only see the first 80 characters of each line (I designed the ...
user3082's user avatar
  • 1,031
49 votes
3 answers
11k views

Is it possible for less output to set the tab width to a number X as it is for cat?
polym's user avatar
  • 11.1k
3 votes
1 answer
442 views

I prefer to set tabs 4 however this may have some side effects, such as for example ls out put may look not properly aligned. How might I configure the terminal / cat to use four spaces for tabs for ...
dotancohen's user avatar
  • 16.5k
7 votes
5 answers
1k views

I have input containing ANSI color codes that I'd like to tablify. I want the output to remain colored, so the tablified output should maintain the ANSI color codes. Hence, naively stripping them away ...
Jimmy Dean's user avatar
10 votes
2 answers
6k views

My goal is to set Kate up to work properly on Python files but to use different settings (tabs not spaces) on other documents. I'm sure others are doing this, but I can't figure out a convenient ...
MountainX's user avatar
  • 19k
51 votes
7 answers
36k views

Sometimes, I'm getting as an input tab separated list, which is not quite aligned, for instance var1 var2 var3 var_with_long_name_which_ruins_alignment var2 var3 Is there an easy way to render ...
Elazar Leibovich's user avatar
2 votes
2 answers
11k views

By default Kate inserts 2 spaces on Tab press but switches to real tabs starting from the fourth Tab level. Can I disable this and use spaces always, regardless to the depth? I want this because I ...
Ivan's user avatar
  • 18.5k