Last active
March 9, 2016 22:16
-
-
Save adampats/e8e7ac150873557fe319 to your computer and use it in GitHub Desktop.
bash jq filter newline
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
foo () { | |
jqf='.ImageId,'\ | |
'.InstanceId' | |
aws_ec2_list | jq -S "$jqf" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Output warning:
-bash: .InstanceId: command not found