Quiz text file width
terry.curran@cwcom.net
terry.curran@cwcom.net
Fri, 26 Apr 2002 12:22:58 +0100 (BST)
If youo really want to get 80 character wide files, including all those
extra spaces, then why not use awk on the file
try this awk '{printf "%s-79\n",$0} file_in > file_out
you actually get 79 chars plus a newline!!!
Quoting "Gassett, Chris" <Gassett@aavid.com>:
> I am creating a text file with Quiz that needs to be 80 characters
> wide.
> The data may not fill that 80 characters but the field needs to be
> displayed
> as 80 characters wide. When I vi the file after the quiz has executed
> those
> records that do not fill the 80 characters are really not 80
> characters
> wide. How do I go about creating a txt file that stays 80 characters
> wide?
> I could dump out a char at 81 and use a unix script to strip that
> character.
> Any other suggestions?
>
> PowerHouse 8.13.D3
>
Terry Curran