[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [vile] Is there a way to use xvile in a pipe?
From: |
Thomas Dickey |
Subject: |
Re: [vile] Is there a way to use xvile in a pipe? |
Date: |
Tue, 6 Oct 2015 05:28:19 -0400 (EDT) |
----- Original Message -----
| From: "Chris Green" <address@hidden>
| To: address@hidden
| Sent: Tuesday, October 6, 2015 5:20:54 AM
| Subject: [vile] Is there a way to use xvile in a pipe?
|
| I know I can pipe standard input into xvile but is there a way of
| getting its saved output to standard output?
|
| I.e. I want to do something like:-
|
| decrypt something to stdout | xvile | encrypt the file again
xvile can read directly from a pipe (just tested...).
To write the encrypted file, you would have to do something with a macro
as I did for "vile-pager". Since vile does not know about shell ">",
you'd have to do some workaround (write to a special device) to make it
do standard output.
--
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net