Bash "for" loop without a "in foo bar..." part – unix.stackexchange.com

I was recently looking at some code that confused me because it works and I didn't expect it to. The code reduces to this example #!/bin/bash for var; do echo "$var" done When run with command ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

0 Comment to "Bash "for" loop without a "in foo bar..." part – unix.stackexchange.com"