> email@example.com (Steve Elkins) writes:
> > firstname.lastname@example.org writes:
> >> What options are there to do printf type formatting in scsh?
> > Have you seen format.scm? If not, spend some time poking around in
> > the distribution. Doing so sooner would've saved me some work.
> I've seen format, but it does not provide for padding the output to
> fixed widths (like printf("%8d") for a width of 8) to allow for
> printing data in pretty columns, which is what I'm looking for.
format.scm represents an implementation of modest subset of Common
Lisp's format. A more complete implementation can be found in Aubrey
>From the SCSH FAQ:
Can I use SLIB (a Scheme library) with scsh?
Yes, provided that you get (or write) an initialization file for
scsh. Tomas By wrote one that you can get there:
By the way, more information about SLIB is available by following
More about CL format at:
IIRC, SLIB even implements some sort of printf, complete with the
c-style syntax. The SLIB manual is online at the link given in the FAQ