This repository has been archived by the owner on Feb 22, 2022. It is now read-only.
Code macros #14
Labels
Completed
The requested enhancement/bug fix/doc change was implemented in some fashion
open to ideas
I was looking at implementing
for /f "line" ...
(shorthand option to read a complete line) when I realised rather than patchingcmd
it'd be far easier to just insert the necessary text using normal variable substitution. Another area where this could be useful is with the infinite loop - I thought of patchingcmd
to allowfor (...)
ordo ...
as shorthand forfor %%_ in (:*) do ...
, but it was just too complicated, when, again, a simple substitution would get the job done. I was thinking variables starting with#
could be used for this.Pehaps the
for /f
could even be included in the variable, making it#forline
instead; perhaps another variation to includeusebackq
, asusebackq^ %#line%
isn't very nice (#forlinebackq
).The text was updated successfully, but these errors were encountered: