- May
- 12,645
- 155
I want to ...
where the arguments to the alias will be file names (quoted if necessary). DO's handling of a list (/L) seems to prevent this.
FOR %f IN ( %$ ) handles it OK. And I suppose I could use a delimiter (say ';') but then I'd have to talk myself out of the 20+ year habit of separating file names with spaces. Is there a reason why quoted strings among DO /L's set are not handled as they are everywhere else in TCC?
Code:
alias foo `do f in /L %$ (...)`
Code:
v:\> do f in /L "1 2" 3 4 ( echo %f )
"1
2"
3
4
FOR %f IN ( %$ ) handles it OK. And I suppose I could use a delimiter (say ';') but then I'd have to talk myself out of the 20+ year habit of separating file names with spaces. Is there a reason why quoted strings among DO /L's set are not handled as they are everywhere else in TCC?