[tpm] Perl getting the output from .Net apps

Antonio Sun antoniosun at lavabit.com
Fri Mar 16 11:08:06 PDT 2012


On Fri, Mar 16, 2012 at 12:57 PM, Indy Singh <indy at indigostar.com> wrote:

> The syntax is not the same as what you are typing at the prompt since you
> are using the cygwin shell.


Thanks Indy.

Apparently cygwin is doing an excellent job to shield that one layer of
complexity off me.

----------------------------------------------
$ type ipconfig.exe
ipconfig.exe is hashed (/cygdrive/c/Windows/system32/ipconfig.exe)

$ seq 5 | perl -pe 's|^3$|`/cygdrive/c/Windows/system32/ipconfig`|e;'
1
2

Windows IP Configuration


Ethernet adapter Local Area Connection:
. . .
   Connection-specific DNS Suffix  . :

4
5
----------------------------------------------

Thanks anyway.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/toronto-pm/attachments/20120316/5415faa1/attachment.html>


More information about the toronto-pm mailing list