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


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

Re: convert text mit tab stops to table

From ekkardgerlach <egerlach@aiai.de>
Newsgroups comp.os.linux.misc
Subject Re: convert text mit tab stops to table
Date 2012-05-23 10:50 +0200
Message-ID <a23mn7FghoU1@mid.individual.net> (permalink)
References <a1ul3cF3b9U1@mid.individual.net> <dce018994c3c2fe51bc813e789e9191f@remailer.privacy.at>

Show all headers | View raw


thx to all!
from suse-mailinglist I got the best solution: "column" included in
util-linux:

cat lab2.txt  | tr "\t" ";" | column -t -s ";"

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

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