Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • 1
    Are you sure the issue here is a subshell - rather than How to grep standard error stream (stderr)? Commented Mar 16, 2024 at 13:45
  • Have you try: gpg --edit-key [email protected] showpref quit 2>&1| grep Compression? Commented Mar 16, 2024 at 13:53
  • @steeldriver : I've seen that page before, and tried it, but it didn't work (see my edit). It doesn't look like gpg's output goes to stderr. Commented Mar 16, 2024 at 14:22
  • @RomeoNinov : yes, see my EDIT. Same result, not working. Commented Mar 16, 2024 at 14:22