Re: sed bug?
Eli Zaretskii <[email protected]>
| Newsgroups | gmane.comp.gnu.utils.bugs |
|---|---|
| Message-ID | <[email protected]> |
> Date: Sun, 19 Feb 2012 11:15:28 -0700 > From: Bob Proulx <[email protected]> > > 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.