in reply to Re^3: how perl do 'envsubst'
in thread how perl do 'envsubst'

So... how can a program open /dev/fd/63 if it doesn't exist?

Because it does exist at the time the command is run:

$ echo <(echo foo) $(ls /dev/fd) /dev/fd/63 0 1 2 3 63

Greetings,
🐻

$gryYup$d0ylprbpriprrYpkJl2xyl~rzg??P~5lp2hyl0p$

Replies are listed 'Best First'.
Re^5: how perl do 'envsubst'
by NERDVANA (Priest) on Jul 03, 2024 at 20:55 UTC
    Ah-ha! I forgot /dev/fd was a symlink to /proc/self/fd.