equal
deleted
inserted
replaced
|
1 'tabstops' is a program that translates a file with columns separated by |
|
2 "visually correct" spaces to a file with columns separated by one TAB character. |
|
3 It is supposed that there isn't any TAB character in the input file. |
|
4 |
|
5 Input file is 'stdin', and output is 'stdout'. |
|
6 The parameters are the column position of the 2nd, 3rd, 4th, ... columns. |
|
7 |
|
8 |
|
9 For example: |
|
10 |
|
11 Player Goals |
|
12 John 2 |
|
13 Hilbert 25 |
|
14 |
|
15 is translated to (using 'tabstops 11'): |
|
16 |
|
17 Player Goals |
|
18 John 2 |
|
19 Hilbert 25 |
|
20 |
|
21 |
|
22 ---- New Feature |
|
23 |
|
24 If you add the parameter "-r", then the reverse action is performed. You have a |
|
25 file with columns separated with TAB characters, and you get a file with columns |
|
26 separated by spaces at the position you asked for. |