Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Feb 2002 18:38:58 -0800 (PST)
From:      Kelly Yancey <kbyanc@posi.net>
To:        Tim Robbins <tim@robbins.dropbear.id.au>
Cc:        freebsd-standards@FreeBSD.ORG
Subject:   Re: unexpand -t option
Message-ID:  <20020218183522.D67464-100000@gateway.posi.net>
In-Reply-To: <20020218141415.A33138@descent.robbins.dropbear.id.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 18 Feb 2002, Tim Robbins wrote:

> This patch adds the -t option to unexpand, makes it use getopt instead of
> rolling its own option parser, and just generally cleans it up and simplifies
> it.
>
> Now that it no longer buffers output itself, it should be trivial to convert
> to support multibyte encoding: make `ch' in tabify() a rune_t, use
> fgetrune() and fputrune() instead of getchar()/putchar(). Should I make
> this change? (The standard suggests it should handle multibyte encodings
> when LC_CTYPE specifies one)
>
> Comments?
>

  I cannot comment on the patch, but please don't introduce BSD-specific rune
references.  David Cross and I are working on flushing out wide character
support which I would prefer to use as it is part of the C standard and the
Single Unix specification.  Thanks,

  Kelly
  kbyanc@{posi.net,FreeBSD.org}


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-standards" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020218183522.D67464-100000>