Re: sed bug?
Bob Proulx <[email protected]>
| Newsgroups | gmane.comp.gnu.utils.bugs |
|---|---|
| Message-ID | <[email protected]> |
Eli Zaretskii wrote: > > Bob Proulx wrote: > > That's weird. But in that case should he try this? > > > > sed -f x.sed "..\test files\"*.txt > > Alas, this doesn't work, either, because the MS globbing code doesn't > support "foo"* in the sense that you expect, which is `leave "foo" > alone and expand the *'. Hmm... Pesky things. > There simply isn't a good solution for the OP's problem, with the MS > globbing code. A workaround is this: > > cd "..\test files\" && sed -f *.txt Typo check. I think you meant: cd "..\test files\" && sed -f x.sed *.txt > (yes, MS shells understand "&&" nowadays). Will wonders never cease! :-) Bob