Hello, Akim!

> Second means consists in just using $$.  We have room for this:
> s/conftest/conf$$/, I really can't understand why we'd need something
> more complex.

Are you sure that $$ is always preserved across subshells? What it I
create conf$$ in a subshell but want to access it in the top level shell?

All the shells I tried (bash, zsh, ash) don't change $$, but if there is
an exception, we are in trouble.

Specifically, the following code should print the same number three times:

/bin/echo $$; /bin/echo `/bin/echo $$`; (/bin/echo $$)

Regards,
Pavel Roskin


Reply via email to