Last active
February 24, 2017 18:18
-
-
Save jhyland87/18ca309990ef553bae3790a537abc0ba to your computer and use it in GitHub Desktop.
Just an example of how "Brace Expansion" can be useful
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ echo aws{cli,-{a{s,pigateway-importer},c{fn-tools,loudsearch},elastic{ache,beanstalk},mon,keychain,s{hell,dk-cpp,ns-cli}}} | |
awscli aws-as aws-apigateway-importer aws-cfn-tools aws-cloudsearch aws-elasticache aws-elasticbeanstalk aws-mon aws-keychain aws-shell aws-sdk-cpp aws-sns-cli | |
$ echo aws{cli,-{a{s,pigateway-importer},c{fn-tools,loudsearch},elastic{ache,beanstalk},mon,keychain,s{hell,dk-cpp,ns-cli}}} | tr ' ' '\n' | sort | |
aws-apigateway-importer | |
aws-as | |
aws-cfn-tools | |
aws-cloudsearch | |
aws-elasticache | |
aws-elasticbeanstalk | |
aws-keychain | |
aws-mon | |
aws-sdk-cpp | |
aws-shell | |
aws-sns-cli | |
awscli | |
$ brew install aws{cli,-{a{s,pigateway-importer},c{fn-tools,loudsearch},elastic{ache,beanstalk},mon,keychain,s{hell,dk-cpp,ns-cli}}} | |
Updating Homebrew... | |
==> Auto-updated Homebrew! | |
Updated 2 taps (homebrew/core, homebrew/dupes). | |
==> New Formulae | |
.. CUT .. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment