BBS:      TELESC.NET.BR
Assunto:  looking to just list "string" in gpg output
De:       August Abolins
Data:     Sat, 17 Jan 2026 19:55:00 -0500
-----------------------------------------------------------
 DC>>> I'd use:  gpg ppp.txt | grep '"'

 DC>>> On Linux, at least.  Now that I look again, it looks like
 DC>>> you're using Windoze, so not sure how to do it there.


[...]

 AA> Sorry, I missed the " enclosed in ' quotes; however, same
 AA> result:

 AA> H:\temp>busybox sh
 AA> H:/temp $ gpg ppp.txt | grep '"'
 AA> gpg: WARNING: no command supplied.  Trying to guess what you mean ...
 AA> gpg: encrypted with 4096-bit RSA key, ID 34C35AA4CB59468A, created
 AA> 2024-12-24       "seanrima-gpgmail "
 AA> gpg: encrypted with ECDH key, ID FB7964717AABB346
 AA> gpg: encrypted with 256-bit ECDH key, ID DB93C9CDECB10521, created
 AA> 2025-06-04       "Philipe "


SOLVED:

This works in Windows/DOS:

H:\temp>gpg > NUL -d ppp.txt 2> NUL2 & busybox grep \" NUL2
      "seanrima-gpgmail "
      "Philipe "
      "Phil Lejman "
      "Paul Kapaldo"


And, this works in sh:

H:/temp $ gpg > NUL -d ppp.txt 2> NUL2 ; grep \" NUL2
      "seanrima-gpgmail "
      "Philipe "
      "Phil Lejman "
      "Paul Kapaldo"


I'm such a bright boy!


-- 
  ../|ug

--- OpenXP 5.0.64
 * Origin: Got Mobile? This echo = https://t.me/+RLI5gLJrHo6IIuzL (2:221/1.58)

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