こんにちは。
eval
コマンド利用よりも安全な方法を探しました:
$ command_string="ls -l"
$ set -- $command_string; command "$@"
$ # eval "$command_string"
Go to list of users who liked
こんにちは。
eval
コマンド利用よりも安全な方法を探しました:
$ command_string="ls -l"
$ set -- $command_string; command "$@"
$ # eval "$command_string"
Register as a new user and use Qiita more conveniently
Go to list of users who liked