Closed kallies closed 6 years ago
An independent change would be do add a echo in front:
- ${listofthings} | awk '{ print $3 }' # get the third item
+ echo ${listofthings} | awk '{ print $3 }' # get the third item
- ${listofthings[2]} # get the third item (start counting from 0)
+ echo ${listofthings[2]} # get the third item (start counting from 0
Fix index count issue.