Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • I think I am getting myself confused about expansion because I am trying to solve debug why the following case returns "no match": ./wildcart_test.sh "\\" "\\" I started adding echo statements and in those statements the expansion was happening. I am still unsure why the double backslashes do not match. Commented Dec 9, 2019 at 16:49
  • @TylerAndFriends try '\' '\\' or "\\" "\\\\" Commented Dec 9, 2019 at 16:51
  • So the input is interpreted literally while the pattern needs to be escaped? Commented Dec 9, 2019 at 16:56
  • 1
    @TylerAndFriends, I'm not sure what you mean, but see if the later edits help Commented Dec 9, 2019 at 17:30