Article View: comp.mail.mh
Article #1374Re: 2 questions on mh-format and scan
From: Kannan Varadhan
Date: Thu, 28 Jan 1993 04:42
Date: Thu, 28 Jan 1993 04:42
27 lines
1565 bytes
1565 bytes
Thus spake kannan@oar.net (Kannan Varadhan)
>Question 1: According to the manual, %{folder} is a valid component
>for scan listings, which gives me to understand that I should see some
>output for the following command:
After poring over the sources, I found out that scan.c, when calling
scan() will only pass the folder name, and hence set the %{folder}
component, if -header is specified. The fix is to remove the check for
the hdrflag variable, both when scan'ing a packf'd file, and when given
a normal folder.
If the diffs are interesting, I can post them here.
>Question 2: I am trying to coax a numeric argument to be left
>justified, but to no avail.
Someone pointed out that this was the default for printing out numeric
arguments, when I realised I had specified the question incompletely. I
want to be able to left justify it in a fixed width field. This
person's response was to use it as %04(num), but the leading zeroes are
yukky, even as a kluge.
Kannan
--
Kannan Varadhan, 1224, Kinnear Road, +1 614 292 4137
Internet Engineer (OARnet) Columbus, OH 43212 +1 614 292 7168 (FAX)
Technical Details
Message-ID:
<1993Jan28.044207.11702@oar.net>Path:
arc1-ca.pugleaf.net!sparky!uunet!ukma!bogus.sura.net!howland.reston.ans.net!zaphod.mps.ohio-state.edu!malgudi.oar.net!kannanReferences:
<1993Jan26.051147.1255@oar.net>Show Full Headers
Complete Article Headers
Newsgroups: comp.mail.mh Path: arc1-ca.pugleaf.net!sparky!uunet!ukma!bogus.sura.net!howland.reston.ans.net!zaphod.mps.ohio-state.edu!malgudi.oar.net!kannan From: kannan@oar.net (Kannan Varadhan) Subject: Re: 2 questions on mh-format and scan Message-ID: <1993Jan28.044207.11702@oar.net> Organization: Ohio Supercomputer Center & OARNet, Columbus, OH References: <1993Jan26.051147.1255@oar.net> Date: Thu, 28 Jan 1993 04:42:07 GMT Lines: 27