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


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

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 14:21 +0200
Message-ID <a2432lFcjiU1@mid.individual.net> (permalink)
References <a1ul3cF3b9U1@mid.individual.net> <dce018994c3c2fe51bc813e789e9191f@remailer.privacy.at> <a23mn7FghoU1@mid.individual.net> <jpif9h$dab$1@speranza.aioe.org>

Show all headers | View raw


Am 23.05.2012 12:48, schrieb Janis Papanagnou:

> Column also doesn't create postscript, as you initially asked for.
I want to convert the text-file with columns to a postscript AFTER.

> 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).
thx
But pr is very complicated, nearly no examples available.

# pr -e25 <lab2.txt
.. squeezes two small columns to ONE column if -e is set to 20 or less.
With -e set to 25 *all* colums are 25 chars wide. So it's not usable for
me, "column" from util-linux is intelligent and expands a column only as
far as it is needed. :)

A nice feature of pr would be  --sep-string  but
   # pr -e25 --sep-string="|" <lab2.txt
has no effect. A bug? :(

Ekkard

Back to comp.os.linux.misc | Previous | NextPrevious 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