XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • Sandboxed Containers
    • None
    • False
    • Hide

      None

      Show
      None
    • True

      Ensure that all CLI commands have backslashes at line breaks so that they are copied correctly.

      Example: Step 1.v. in AWS config map:

      $ for AWS_SG_ID in "${AWS_SG_IDS[@]}"; do
      
          aws ec2 authorize-security-group-ingress --group-id $AWS_SG_ID --protocol tcp --port 15150 --source-group $AWS_SG_ID --region $AWS_REGION
      
          aws ec2 authorize-security-group-ingress --group-id $AWS_SG_ID --protocol tcp --port 9000 --source-group $AWS_SG_ID --region $AWS_REGION
      
      done
      

      Copied code:

      for AWS_SG_ID in "${AWS_SG_IDS[@]}"; do

      Fixed block:

      $ for AWS_SG_ID in "${AWS_SG_IDS[@]}"; do \
          aws ec2 authorize-security-group-ingress --group-id $AWS_SG_ID --protocol tcp --port 15150 --source-group $AWS_SG_ID --region $AWS_REGION \
          aws ec2 authorize-security-group-ingress --group-id $AWS_SG_ID --protocol tcp --port 9000 --source-group $AWS_SG_ID --region $AWS_REGION \
      done
      

      Check for unintended line breaks in commands.

      Check JSON queries.

      If commands are too long and require excessive horizontal scrolling, add line breaks and backslashes for readability.

            Unassigned Unassigned
            apinnick@redhat.com Avital Pinnick
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: