Ravindra BagaleCourses & study guides मराठी Track your progress

Ravi Sir's Cards › AWS

Variable empty after a pipe loop?

What is a VPC: your own private network inside one AWS Region, example ThreeTierVpc 10.0.0.0/16.

Variable empty after a pipe loop? Pipe runs the loop in a subshell. Feed it with < <( ). Or shopt -s lastpipe.
Variable empty after a pipe loop? · Download PNG
Read card text

What this card says

What it is

Pipe runs the loop in a subshell.

Why it matters

Feed it with < <( ).

done < <(cmd)

How / example

Or shopt -s lastpipe.

See all AWS revision cards