Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
So in conclusion, your code snippet isn't convertible into a for loop in a good, semantic way. Keep it as while loop. Also bonus tip, check the sidebar for resources such as ShellCheck to check your code for subtle mistakes
NOTE:
The number of mentions on this list indicates mentions on common posts plus user suggested alternatives.
Hence, a higher number means a more popular project.