有没有类似的 unix 命令替换 shell 扩展?喜欢
> cmd1 `cmd2 -opt1 -opt2`
最佳答案
据我所知,您不能直接这样做,但您可以将 Soultion 与 for 循环一起使用,类似于 that .
关于shell - 用于 UNIX shell 命令替换的 WIndows 批处理模拟,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11061337/