scsh-users
[Top] [All Lists]

Re: printf type formatting?

To: scsh-news@zurich.ai.mit.edu
Subject: Re: printf type formatting?
From: stktrc@yahoo.com
Date: Mon, 04 Nov 2002 21:28:15 +0100
Organization: News UmU SE
stktrc@yahoo.com writes:

> What options are there to do printf type formatting in scsh?
>
> I've seen SLIB but it looks kind of heavyweight just for getting
> printf.

Following up to myself:

In focusing too much on finding an equivalent of printf, I overlooked
how easily the functionality needed could be achieved by combining
simpler primitives.

Using string-pad et al from SRFI 13 (String Libraries) it should be
easy to put together what I want in a few lines. Excellent.

<Prev in Thread] Current Thread [Next in Thread>