We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
初めまして。清水と申します。
現在貴書でFuelPHPを勉強中ですが、1点気がついたので報告いたします。
zsh環境で以下のコマンドを実行するとエラーが発生しました。
% oil g migration create_form name:string[50] email:string[100] comment:string[400] ip_address:string[39] user_agent:string[512] created_at:int updated_at:int
zsh: no matches found: name:string[50]
下記のようにダブルクォテーションでくくると正常に実行されました。
% oil g migration create_form "name:string[50]" "email:string[100]" "comment:string[400]" "ip_address:string[39]" "user_agent:string[512]" "created_at:int" "updated_at:int"
The text was updated successfully, but these errors were encountered:
zsh では [ ] はエスケープしないといけないということですね。
\[50\] のようにエスケープしても OK です。
\[50\]
Sorry, something went wrong.
はい。その通りです。 bashとzshでのこの違いについては初めて知りました。 (他にも細かい違いはありますが・・・)
No branches or pull requests
初めまして。清水と申します。
現在貴書でFuelPHPを勉強中ですが、1点気がついたので報告いたします。
zsh環境で以下のコマンドを実行するとエラーが発生しました。
% oil g migration create_form name:string[50] email:string[100] comment:string[400] ip_address:string[39] user_agent:string[512] created_at:int updated_at:int
zsh: no matches found: name:string[50]
下記のようにダブルクォテーションでくくると正常に実行されました。
% oil g migration create_form "name:string[50]" "email:string[100]" "comment:string[400]" "ip_address:string[39]" "user_agent:string[512]" "created_at:int" "updated_at:int"
The text was updated successfully, but these errors were encountered: