in reply to
Re: Here, doccy doccy. nice doccy. heredoc, treat.
in thread Here, doccy doccy. nice doccy. heredoc, treat.
hey, i just noticed something in my output from running 'date' in a heredoc on Win32. look closely at the output:
The current date is: Thu 06/21/2001
Enter the new date: (mm-dd-yy) date
when date is run from the command line, the output is:
The current date is: Thu 06/21/2001
Enter the new date: (mm-dd-yy)
so why does
date (the contents of $foo) appear when run from a heredoc with backtick interpolation? this seems to be more than just a fancy way of quoting. can someone verify this behaviour on *nix?
curiouser and curiouser...
=Particle