BBS:      TELESC.NET.BR
Assunto:  looking to just list "string" in gpg output
De:       Maurice Kinal
Data:     Sun, 18 Jan 2026 01:29:02 +0000
-----------------------------------------------------------
Hej August!

> H:/temp $ gpg > NUL -d ppp.txt 2> NUL2 ; grep \" NUL2

If you have 'tee' handy then try this;

H:/temp $ { gpg ppp.txt | tee NUL2; } &> NUL1 ; grep \" NUL2

'tee' will only output stdout to NUL2.  Both stderr and stdout will get written to NUL1 which if you don't need it could be redirected to /dev/null or whatever your sh enviroment uses to represent the void.

Het leven is goed,
Maurice

 o-  o- -o   o-  o- -o   o- -o   o-  o- -o  -o   o- -o  -o  -o
/)  /)   (\ /)  /)   (\ /)   (\ /)  /)   (\  (\ /)   (\  (\  (\
^^  ^^   ^^ ^^  ^^   ^^ ^^   ^^ ^^  ^^   ^^  ^^ ^^   ^^  ^^  ^^
... Hwt bi betst and wyrst?  Ic e secge, mannes word.
    What is the best and the worst thing?  I tell you, man's word.
--- GNU bash, version 5.3.9(1)-release (x86_64-pc-linux-gnu)
 * Origin: Little Mikey's EuroPoint @ (2:280/464.113)

-----------------------------------------------------------
[Voltar]