• looking to just list "string" in gpg output

    From August Abolins@2:221/1.58 to All on Sat Jan 17 15:16:00 2026
    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"

    ???



    --
    ../|ug

    --- OpenXP 5.0.64
    * Origin: Got Mobile? This echo = https://t.me/+RLI5gLJrHo6IIuzL (2:221/1.58)
  • From Dan Clough@1:135/115 to August Abolins on Sat Jan 17 16:49:19 2026
    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.



    ... Gone crazy, be back later, please leave message.
    === MultiMail/Linux v0.52
    --- SBBSecho 3.34-Linux
    * Origin: Palantir * palantirbbs.ddns.net * Pensacola, FL * (1:135/115)
  • From August Abolins@2:221/1.58 to Dan Clough on Sat Jan 17 18:25:00 2026
    Hello Dan!

    ** On Saturday 17.01.26 - 16:49, you wrote:

    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>"


    --
    ../|ug

    --- OpenXP 5.0.64
    * Origin: Got Mobile? This echo = https://t.me/+RLI5gLJrHo6IIuzL (2:221/1.58)
  • From August Abolins@2:221/1.58 to Dan Clough on Sat Jan 17 19:16:00 2026
    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>"
    --
    ../|ug

    --- OpenXP 5.0.64
    * Origin: Got Mobile? This echo = https://t.me/+RLI5gLJrHo6IIuzL (2:221/1.58)
  • From August Abolins@2:221/1.58 to Dan Clough on Sat Jan 17 19:55:00 2026
    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>"


    SOLVED:

    This works in Windows/DOS:

    H:\temp>gpg > NUL -d ppp.txt 2> NUL2 & busybox grep \" NUL2
    "seanrima-gpgmail <thecivvie@gmail.com>"
    "Philipe <philipe_rm1@hotmail.com>"
    "Phil Lejman <phil.lejman@gmail.com>"
    "Paul Kapaldo"


    And, this works in sh:

    H:/temp $ gpg > NUL -d ppp.txt 2> NUL2 ; grep \" NUL2
    "seanrima-gpgmail <thecivvie@gmail.com>"
    "Philipe <philipe_rm1@hotmail.com>"
    "Phil Lejman <phil.lejman@gmail.com>"
    "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)
  • From Dan Clough@1:135/115 to August Abolins on Sat Jan 17 18:58:38 2026
    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>"

    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.




    ... Gone crazy, be back later, please leave message.
    === MultiMail/Linux v0.52
    --- SBBSecho 3.34-Linux
    * Origin: Palantir * palantirbbs.ddns.net * Pensacola, FL * (1:135/115)
  • From August Abolins@2:221/1.58 to Dan Clough on Sat Jan 17 20:26:00 2026
    Hello Dan!

    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.

    Do you have an actual gpg output to show me?

    You're forgetting that only the decrypted part goes to stdout,
    and gpg errors and info go to stderr.


    --
    ../|ug

    --- OpenXP 5.0.64
    * Origin: Got Mobile? This echo = https://t.me/+RLI5gLJrHo6IIuzL (2:221/1.58)
  • From Maurice Kinal@2:280/464.113 to August Abolins on Sun Jan 18 01:29:02 2026
    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
    /) /) (\ /) /) (\ /) (\ /) /) (\ (\ /) (\ (\ (\
    ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^
    ... 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.
    --- GNU bash, version 5.3.9(1)-release (x86_64-pc-linux-gnu)
    * Origin: Little Mikey's EuroPoint @ (2:280/464.113)
  • From Aug@2:460/256 to Maurice Kinal on Sun Jan 18 05:46:33 2026
    Hi Maurice...

    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
    /) /) (\ /) /) (\ /) (\ /) /) (\ (\ /) (\ (\ (\
    ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^ ^^
    ... 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.

    No.. I want to parse stderr that gpg produces.

    --
    /|ug
    https://t.me/aabolins

    --- Want fido for iOS/MacOS/Android/Win/Linux? https://shrtco.de/tpJ9yV
    * Origin: Fido by Telegram BBS from Stas Mishchenkov (2:460/256)

Novedades:

Servidor de Quake 3 Arena Online! - Conectate a ferchobbs.ddns.net, puerto 27960 y vence con tu equipo!