Quantcast
Channel: Take Command / TCC
Viewing all articles
Browse latest Browse all 1706

Can alias pass parameters to for command?

$
0
0
alias a=echo %*
It work.
>a 1 2 3
1 2 3

alias b=`for %f in (%*) echo %f`
It doesn't work.
>b 1 2 3

output nothing.

Viewing all articles
Browse latest Browse all 1706

Trending Articles