PaloAltoNetworks / pcs-sizing-scripts

Prisma Cloud sizing scripts
ISC License
46 stars 49 forks source link

Change calculation method with awk since int variable wasn't working #35

Closed SimOnPanw closed 2 years ago

SimOnPanw commented 2 years ago

Description

Switch the AWK calculation method to awk '{bc=$1 ; pc=($1/3); ...

Motivation and Context

I tried the command that was in the repo with int but it wasn't working for me.

How Has This Been Tested?

I tested on my WSL2 on windows10 with zsh and bash with and without JQ

I tested on my WSL2 on windows10 with zsh and bash with and without JQ

No impacts

Screenshots (if appropriate)

Types of changes

Checklist

welcome-to-palo-alto-networks[bot] commented 2 years ago

:tada: Thanks for opening this pull request! We really appreciate contributors like you! :raised_hands:

welcome-to-palo-alto-networks[bot] commented 2 years ago

:tada: Congrats on getting your first pull request merged! We here at Palo Alto Networks are so grateful! :heart: