August Abolins wrote to All <=-
What's the best way to get the output of this:
H:\temp>gpg ppp.txt
gpg: WARNING: no command supplied. Trying to guess what you mean ...
gpg: encrypted with 4096-bit RSA key, ID 34C35AA4CB59468A, created 2024-12-24
"seanrima-gpgmail <thecivvie@gmail.com>"
gpg: encrypted with ECDH key, ID FB7964717AABB346
gpg: encrypted with 256-bit ECDH key, ID DB93C9CDECB10521, created 2025-06-04
"Philipe <philipe_rm1@hotmail.com>"
gpg: encrypted with 2048-bit RSA key, ID 6C0F8C1358D82C2D, created 2010-10-18
"Phil Lejman <phil.lejman@gmail.com>"
gpg: encrypted with ECDH key, ID 740397B0612F2FC7
gpg: encrypted with 256-bit ECDH key, ID C42D963F2DAC8CC7, created 2020-10-17
"Paul Kapaldo"
..to just produce this:
"seanrima-gpgmail <thecivvie@gmail.com>"
"Philipe <philipe_rm1@hotmail.com>"
"Phil Lejman <phil.lejman@gmail.com>"
"Paul Kapaldo"
???
I'd use: gpg ppp.txt | grep '"'
On Linux, at least. Now that I look again, it looks like you're using Windoze, so not sure how to do it there.
I'd use: gpg ppp.txt | grep '"'
On Linux, at least. Now that I look again, it looks like
you're using Windoze, so not sure how to do it there.
If busybox is a good emulation of linux, this did not work:
H:\temp>busybox sh
H:/temp $ gpg ppp.txt | grep ""
gpg: WARNING: no command supplied. Trying to guess what you mean ...
gpg: encrypted with 4096-bit RSA key, ID 34C35AA4CB59468A, created 2024-12-24 "seanrima-gpgmail <thecivvie@gmail.com>"
gpg: encrypted with ECDH key, ID FB7964717AABB346
gpg: encrypted with 256-bit ECDH key, ID DB93C9CDECB10521, created 2025-06-04 "Philipe <philipe_rm1@hotmail.com>"
I'd use: gpg ppp.txt | grep '"'
On Linux, at least. Now that I look again, it looks like
you're using Windoze, so not sure how to do it there.
Sorry, I missed the " enclosed in ' quotes; however, same
result:
H:\temp>busybox sh
H:/temp $ gpg ppp.txt | grep '"'
gpg: WARNING: no command supplied. Trying to guess what you mean ...
gpg: encrypted with 4096-bit RSA key, ID 34C35AA4CB59468A, created 2024-12-24 "seanrima-gpgmail <thecivvie@gmail.com>"
gpg: encrypted with ECDH key, ID FB7964717AABB346
gpg: encrypted with 256-bit ECDH key, ID DB93C9CDECB10521, created 2025-06-04 "Philipe <philipe_rm1@hotmail.com>"
August Abolins wrote to Dan Clough <=-
I'd use: gpg ppp.txt | grep '"'
On Linux, at least. Now that I look again, it looks like
you're using Windoze, so not sure how to do it there.
Update BELOW..
If busybox is a good emulation of linux, this did not work:
H:\temp>busybox sh
H:/temp $ gpg ppp.txt | grep ""
gpg: WARNING: no command supplied. Trying to guess what you mean ...
gpg: encrypted with 4096-bit RSA key, ID 34C35AA4CB59468A, created 2024-12-24 "seanrima-gpgmail <thecivvie@gmail.com>"
gpg: encrypted with ECDH key, ID FB7964717AABB346
gpg: encrypted with 256-bit ECDH key, ID DB93C9CDECB10521, created 2025-06-04 "Philipe <philipe_rm1@hotmail.com>"
Sorry, I missed the " enclosed in ' quotes; however, same
result:
H:\temp>busybox sh
H:/temp $ gpg ppp.txt | grep '"'
gpg: WARNING: no command supplied. Trying to guess what you mean ...
gpg: encrypted with 4096-bit RSA key, ID 34C35AA4CB59468A, created 2024-12-24
"seanrima-gpgmail <thecivvie@gmail.com>"
gpg: encrypted with ECDH key, ID FB7964717AABB346
gpg: encrypted with 256-bit ECDH key, ID DB93C9CDECB10521, created 2025-06-04
"Philipe <philipe_rm1@hotmail.com>"
H:\temp>busybox sh
H:/temp $ gpg ppp.txt | grep '"'
gpg: WARNING: no command supplied. Trying to guess what you mean ...
gpg: encrypted with 4096-bit RSA key, ID 34C35AA4CB59468A, created
2024-12-24
"seanrima-gpgmail <thecivvie@gmail.com>"
gpg: encrypted with ECDH key, ID FB7964717AABB346
gpg: encrypted with 256-bit ECDH key, ID DB93C9CDECB10521, created
2025-06-04
"Philipe <philipe_rm1@hotmail.com>"
I guess busybox *isn't* a good emulation of Linux. It
works as expected on actual Linux. Maybe a Windows user
will chime in here.
H:/temp $ gpg > NUL -d ppp.txt 2> NUL2 ; grep \" NUL2
Hej August!
H:/temp $ gpg > NUL -d ppp.txt 2> NUL2 ; grep \" NUL2If 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
/) /) (\ /) /) (\ /) (\ /) /) (\ (\ /) (\ (\ (\
^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^
... Hwæt bið betst and wyrst? Ic ðe secge, mannes word.
What is the best and the worst thing? I tell you, man's word.
| Sysop: | Fercho |
|---|---|
| Lugar: | La Plata, Buenos Aires |
| Usuarios: | 24 |
| Nodos: | 10 (0 / 10) |
| Uptime: | 10:25:04 |
| Llamadas: | 131 |
| Archivoss: | 15,915 |
| Mensajes: | 41,530 |
Novedades:
Servidor de Quake 3 Arena Online! - Conectate a ferchobbs.ddns.net, puerto 27960 y vence con tu equipo!