[m-rev.] for review [juliensf]: Avoid command line buffer limits

Paul Bone pbone at csse.unimelb.edu.au
Tue Oct 7 20:26:59 AEDT 2008


On Tue, Oct 07, 2008 at 07:22:34PM +1100, Peter Ross wrote:
> On Tue, Oct 7, 2008 at 6:45 PM, Zoltan Somogyi <zs at csse.unimelb.edu.au> wrote:
> > On 07-Oct-2008, Peter Ross <pro at missioncriticalit.com> wrote:
> >> mmc -f <lots and lots of file names>
> >
> > Why not simply check each non-option argument to see if it has a special
> > suffix (e.g. ms), and if it does, then replace the argument with the contents
> > of the file named by the argument? So that is e.g. the file "allfiles.ms"
> > contains "a.m b.m ... z.m", then
> >
> >        mmc allfiles.ms
> >
> > is equivalent to
> >
> >        mmc a.m b.m ... z.m
> >
> The @file seems to be the standard way to do that, the gnu and ms
> toolchains both use this format, so I think we should as well.

I remember this syntax from PKZIP, it's probably one that people are
likely to recognise.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20081007/076dae56/attachment.sig>


More information about the reviews mailing list