Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #5405

Re: convert text mit tab stops to table

From Janis Papanagnou <janis_papanagnou@hotmail.com>
Newsgroups comp.os.linux.misc
Subject Re: convert text mit tab stops to table
Date 2012-05-23 12:48 +0200
Organization Aioe.org NNTP Server
Message-ID <jpif9h$dab$1@speranza.aioe.org> (permalink)
References <a1ul3cF3b9U1@mid.individual.net> <dce018994c3c2fe51bc813e789e9191f@remailer.privacy.at> <a23mn7FghoU1@mid.individual.net>

Show all headers | View raw


Am 23.05.2012 10:50, schrieb ekkardgerlach:
> thx to all!
> from suse-mailinglist I got the best solution: "column" included in
> util-linux:
>
> cat lab2.txt  | tr "\t" ";" | column -t -s ";"

(This is an "Useless Use Of Cat".)

>
> change tab to ; because column doesn't like tabs, then column. Great!

This is not true. (Column just doesn't handles multiple TABs the
way you seem to like it.)

Column also doesn't create postscript, as you initially asked for.

See also the pr(1) command that you find on Unix systems, any which
handles the TABs the way you like.

And mind also that column is non-standard (while pr is standard).

Janis

>
> Ekkard

Back to comp.os.linux.misc | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

convert text mit tab stops to table ekkardgerlach <egerlach@aiai.de> - 2012-05-21 12:52 +0200
  Re: convert text with tab stops to table ekkardgerlach <egerlach@aiai.de> - 2012-05-21 12:54 +0200
  Re: convert text mit tab stops to table Janis Papanagnou <janis_papanagnou@hotmail.com> - 2012-05-21 14:05 +0200
  Re: convert text mit tab stops to table The Natural Philosopher <tnp@invalid.invalid> - 2012-05-21 13:14 +0100
  Re: convert text mit tab stops to table David Brown <david@westcontrol.removethisbit.com> - 2012-05-21 15:03 +0200
  Re: convert text mit tab stops to table "Anonymous Remailer (austria)" <mixmaster@remailer.privacy.at> - 2012-05-22 11:46 +0000
    Re: convert text mit tab stops to table ekkardgerlach <egerlach@aiai.de> - 2012-05-23 10:50 +0200
      Re: convert text mit tab stops to table Janis Papanagnou <janis_papanagnou@hotmail.com> - 2012-05-23 12:48 +0200
        Re: convert text mit tab stops to table ekkardgerlach <egerlach@aiai.de> - 2012-05-23 14:21 +0200

csiph-web