Is there an equivalent of `set — $*` that works in both Bash and Zsh?

前端 未结 0 664
暗喜
暗喜 2020-12-08 19:52

It seems the line in Bash

set -- $*

is to re-parse the argument using the new IFS. Example:

try() {
    IFS=:
    set -- $*

          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题