There is a Unix code I saw and don't have enough background to fully dechipher:
bash /dev/fd/3 3<< 'EOF'
What is the meaning of
3 3 above? I know what is an heredoc, what is Bash, a device, and fd, but I don't know what is 3 space 3... When I searched the phrase quoted in Google I found basically nothing.
The code was given here as a special heredoc that allows running scrips in-place (specifically those that already include internal heredocs and comments), without creating a file with suitable permissions...
Can a Unix master please explain what is the
3 3 part? Thank you,