bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sed bug?


From: Eli Zaretskii
Subject: Re: sed bug?
Date: Sun, 19 Feb 2012 20:39:15 +0200

> Date: Sun, 19 Feb 2012 11:15:28 -0700
> From: Bob Proulx <address@hidden>
> 
> The MS command interpreter passes the *.txt argument directly to the
> program the program is expected to expand it.  This is related to a
> very short limit (IIRC 128 characters or something close to that
> limit) for command line arguments in MS systems.

The fact that the MS shell does not expand wildcards has nothing to do
with the command-line length limit.  Not anymore, anyway: current MS
shells can handle at least 4K characters, and normally more (32K).

> So.  What does that mean?  It means that when programs are ported to
> MS the author doing the software port must make a decision.  They need
> to decide should they include code to expand arguments or not?

No, they don't: that code is linked in by default.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]