Re: text formatting question

From: jpd (read_the_sig_at_do.not.spam.it)
Date: 03/27/04


Date: Sat, 27 Mar 2004 13:40:45 +0000 (UTC)

In article <Xns94B884AB77B3cmiller0470earthlink@207.69.154.201>,
cmiller0470@earthlink.net wrote:
[snip: creating reports from data]
>
> How the heck do I get the resulting information to line up in nice, neat
> columns, such as a management type would like to see?????

un*x has a lot of utilities to help you. Traditional ones include awk(1)
and printf(1)[0]. One of the reasons the language perl got created is
creating nicely formatted reports.

I somehow thought you wanted to create _paper_ reports, for which also a
number of tools are available; from roff(1) and newer versions[1] to
even TeX[2], which is probably overkill. Even more overkill is to
massage the data into Docbook.

As you can see there are a lot of options, but as ObOtherPoster said,
for further tips you'd probably want to supply examples of what you have
and what you'd want.

[0] A command-line interface to printf(3), a C library function. You could
    also write a program in C to generate reports, of course.
[1] nroff, troff, and groff I know of.
[2] And various macro packages to help use it, like LaTeX.

-- 
  j p d (at) d s b (dot) t u d e l f t (dot) n l .


Relevant Pages

  • Re: The Long Man
    ... Of all the media coverage, ... see only one of the BBC net reports got it wrong, ... Probably aided by the tendency to invest credibility in the BBC that would ...
    (uk.religion.pagan)
  • Re: A Challenge?
    ... > In article, Martin Hodgson ... >> Recent reports have been showing that if you are one of the 20% of the ... {big snip} ... Public Services, across the levels, ...
    (comp.sys.acorn.apps)
  • Re: Shiny new thread for Tony
    ...  > every newspaper which reports on a shooting star is an astronomy text. ... What physical evidence supports that? ... Pagano won't allow his views to be scrutinized because he does not ...
    (talk.origins)
  • Re: Dengue epidemic confirmed in Havana
    ... "A dengue epidemic is affecting various neighborhoods in Havana, ... An epidemic is on hand and the government is NOT providing information ... Dengue in Santiago and NO reports from the government about the epidemic. ...
    (soc.culture.cuba)
  • Re: Posting on rail news group Re: NYCTA Computer usage was Re: Fate of RCA computer division was Re
    ... We had an accountant who prepared financial reports on Excel to a lay ... there is no cash bonus or reward like in the private sector. ... The private sector does not have newspaper ...
    (comp.lang.cobol)