BBS: TELESC.NET.BR
Assunto: looking to just list "string" in gpg output
De: August Abolins
Data: Sun, 18 Jan 2026 10:21:00 -0500
-----------------------------------------------------------
Hello Maurice Kinal!
** On Sunday 18.01.26 - 04:03, Maurice Kinal wrote to Aug:
>> No.. I want to parse stderr that gpg produces.
MK> Then you're on the right track except I would suggest changing NUL to
MK> something else, say OUT and BOTH.
NUL and NUL2, (or NULx) are clearer indications for me that they are
disposable files and just useful for the current process. I don't care if
they are overwritten or deleted later.
I've updated my script/commandline to always produce those NULx files in
h:\temp dir. I don't care to backup anything that I place in h:\temp
I wouldn't mind creating my own "temp" dir in ram, but Windows limits that to
the system TEMP and TMP. And.. that could probably interfere with program
updates that require restarts causing legit files stored there to vanish at
reboot.
I'm reading that creating a ramdisk in linux is fairly simple and a common
feature.
Back on topic for this thread.. this is the linux version (via busybox for
me) that works as desired:
H:\temp>busybox sh
H:/temp $ gpg --batch --yes -d ppp.txt >| NUL 2>| NUL2 ; grep \" NUL2
"seanrima-gpgmail "
"Philipe "
"Phil Lejman "
"Paul Kapaldo"
--
../|ug
--- OpenXP 5.0.64
* Origin: Got Mobile? This echo = https://t.me/+RLI5gLJrHo6IIuzL (2:221/1.58)
-----------------------------------------------------------
[Voltar]