title: List public IP addresses of EC2 instances
body: <p>I want to list the public IP addresses of my EC2 instances using Bash, separated by a delimiter (space or a new-line).</p>
  
  <p>I tried to pipe the output to <a href="https://stedolan.github.io/jq/" rel="noreferrer">jq</a> with <code>aws ec2 describe-instances | jq</code>, but can't seem to isolate just the IP addresses.</p>
  
  <p>Can this be done by <code>aws</code> alone, specifying arguments to <code>jq</code>, or something else entirely?</p>