Re: [1/2] cmd/tests: Add FOR /D tests (try 2)

2011-07-30 Thread Octavian Voicu
2011/7/29 Frédéric Delanoy : > On Fri, Jul 29, 2011 at 22:05, Octavian Voicu > wrote: >> I believe you can also use this syntax [put for instruction in >> parentheses, add | sort at the end]: >> (for ... ...) | sort > > Yeah, but as usual, when NT4 enters in the dance... you get the > picture...

Re: [1/2] cmd/tests: Add FOR /D tests (try 2)

2011-07-29 Thread Frédéric Delanoy
On Fri, Jul 29, 2011 at 22:05, Octavian Voicu wrote: > 2011/7/29 Frédéric Delanoy : >> +rem for /d %%i in (ba*) do echo %%i>> tmp >> +rem sort < tmp >> +rem del tmp > > I believe you can also use this syntax [put for instruction in > parentheses, add | sort at the end]: > (for ... ...) | sort Yea

Re: [1/2] cmd/tests: Add FOR /D tests (try 2)

2011-07-29 Thread Octavian Voicu
2011/7/29 Frédéric Delanoy : > +rem for /d %%i in (ba*) do echo %%i>> tmp > +rem sort < tmp > +rem del tmp I believe you can also use this syntax [put for instruction in parentheses, add | sort at the end]: (for ... ...) | sort Btw, it's a horrible hack, but until you'll have a wine sort you can