I have a program A that pipes its input to nano this way: program_a | nano -
. I want to make edits with nano and pipe it again to another program B, without having nano to write anything on the disk (The processed data is sensitive, and I want it to be only written as encrypted or processed within RAM; program B is actually an encryption program).
In order to achieve my goal, I know of solutions requiring the creation of a tmpfs on the RAM, this I would like to avoid.
Do you have any suggestions?
vim
, butvipe
will work with any editor set asEDITOR
. – pLumo Aug 24 '20 at 14:45vipe
would actually fit my needs... Where did you read about the use of temporary files by editors though? I know thatnano
can dump its buffer into.save
files when receiving something like aSIGTERM
, but I thought it was not doing it everytime. – Loutr_ Aug 29 '20 at 16:08