-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

David Kramer wrote:

>You are absolutely correct.  catting a file and writing to the same file 
>at the end of the pipe will never work.  You can simulate it with perl's 
>-i parameter, but even that uses a temp file behind the curtains.  Sorry 
>about that.

You can also do it in 'update mode' with Perl with no temp file, but it
requires enough memory to hold the entire file.  Seldom worth the
trouble.

- -d

- -- 
David Talkington

PGP key: http://www.prairienet.org/~dtalk/0xCA4C11AD.pgp

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8
Comment: Made with pgp4pine 1.75-6

iQA/AwUBPQlvHr9BpdPKTBGtEQL91wCgvKHGyrPAbJkfNP79PPIgMg+oQB4AoMVE
CdMP5V7F+h/sk7gMvwAEz/zZ
=EcOJ
-----END PGP SIGNATURE-----




_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to