Score:2

Brace expansion doesn't work the way I expect

cn flag

I wonder why doesn't my command work the way I expect?

Here is my command:

touch resources/views/front/user/{index, show, create, edit}.blade.php

What I expect is to create 4 files in that path but instead it does create one file with name {index,

Score:5
hr flag

In a word - whitespace:

$ echo {index, show, create, edit}.blade.php
{index, show, create, edit}.blade.php

but

$ echo {index,show,create,edit}.blade.php
index.blade.php show.blade.php create.blade.php edit.blade.php
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.