Re: [Fish-users] Fish version of [[?

2013-06-16 Thread Robert Carpenter
Hey Robert, The fish replacement for [[ is test. See the docs here: http://fishshell.com/docs/2.0/commands.html#test For your specific application, you might get some mileage out of contains ( http://fishshell.com/docs/2.0/commands.html#contains ) or case ( http://fishshell.com/docs/2.0/commands.

[Fish-users] Fish version of [[?

2013-06-16 Thread Robert O'Connell
I want to compare a string with a wildcard, as in "[[ $1 == *.tar.gz ]]" How can I match strings with wildcards? -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev__