-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Hi, and apologies for such a delayed reply!
On Sun, Aug 17, 2025 at 04:39:07AM -0700, 'Philip Rhoades P' via newsboat wrote:
>is there anyway I can get this information from a Bash script?
Try `pipe-to`:
https://newsboat.org/releases/2.42/docs/newsboat.html#pipe-to
Press | (pipe character), type the path to the Bash script, press Enter,
and the script will receive the current item at its stdin. The item is
formatted into plain text the same way as with "Save" command.
I realize this is suboptimal, because you have to parse the header and
the body yourself. To add insult to injury, we don't make any
compatibility guarantees about this format, although I think we only
ever added new fields to the header.
There are thoughts to provide a better facility for this, but nobody
picked that up yet:
https://github.com/newsboat/newsboat/issues/1691
- --
Regards,
Alexander Batischev
PGP key 356961A20C8BFD03
Fingerprint: CE6C 4307 9348 58E3 FD94 A00F 3569 61A2 0C8B FD03
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEzmxDB5NIWOP9lKAPNWlhogyL/QMFAmlTm7gACgkQNWlhogyL
/QOIZw//fu69snohfXTFQuAlzou6bdxYZSwEW13pJ11R/y6NZrx32sGW/cJHoHpj
lyDQ9F/lIlAUeCZtBVU/CVblywNM4s4AeFsps3hoIKyWsf3v8g9xYyiNypkoFYPB
q9CKUL+UJxQu/rmsU7vDVPjrN321C7h3RphYy6fmo/ngbDTUfUmyBXwkJw8NIr4l
LKMsYuSwvC2tRwuuw4Ggp+tyDJnVj765g5X8EO28z0UVtdL4g2WK/LSoVT3wwUrF
hYselwwi3Y2co0fzYcWcv20azK9dgAh3zzwnXUYPNjchtdBEn2uMSGxzG+yVlo/S
JnyvToZyQESOCjwa3PKPs0632Zb4Vvyr4vHzbRFKsG3BR3AbZZyHZWQ7gczrfJj2
05LMDn5D4/6+SHcCXZzGe8414e0eFhlnnwIn401dAwdKt1+5PZjtZ8AT0HBprFcx
aE9OcpJz2dplwN8VvV06LJAKB0dZE0sIBAoxT4gkKVKcAWCq652NHQIXv4B1gIbj
oWGjGYJZWI5oAA6/F+IshhmYotgy4hB4mhsof9x3vWi+NWOO+6aWrd4MF6nCjVoZ
cO7jlayVMT0NWi2JE7PqRo4zPxkiE6fxO+jimSyUnJQvknp9ZuCptBUcmoWiYi5j
CRIhZSdfZ0ZN59lYSmS8WnLrSN6kYQG+oFaO27cHLBJw066b6Wo=
=UpHc
-----END PGP SIGNATURE-----