[118226] in Cypherpunks

home help back first fref pref prev next nref lref last post

Re: fixed length

daemon@ATHENA.MIT.EDU (Bill Stewart)
Wed Sep 22 07:40:49 1999

Message-Id: <3.0.5.32.19990922040550.00aabcd0@idiom.com>
Date: Wed, 22 Sep 1999 04:05:50 -0700
To: Richard Simpson <Richard.Simpson@sitel.com>,
        "'cypherpunks@toad.com'" <cypherpunks@toad.com>
From: Bill Stewart <bill.stewart@pobox.com>
In-Reply-To: <A1672A3E89A0D111A52C00805FBBC6C74C343A@city-exchange>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Reply-To: Bill Stewart <bill.stewart@pobox.com>

At 11:24 AM 09/22/1999 +0100, Richard Simpson wrote:
>hi I have a problem, i need to convert a csv data file (each containing
>about 30 fields) into a fixed length format in unix, is there a program
>availible?

Awk and perl are both quite good at this.
It's also very simple to write a C program to do it.
Shell scripts aren't too bad either.
For that matter, things named .csv usually come from Excel,
which can also be talked into pretty-printing them instead.
				Thanks! 
					Bill
Bill Stewart, bill.stewart@pobox.com
PGP Fingerprint D454 E202 CBC8 40BF  3C85 B884 0ABE 4639


home help back first fref pref prev next nref lref last post