tools.linux.kernel.org archive mirror
 help / color / mirror / Atom feed
* [REQ] b4: Allow -m from stdin
@ 2021-03-16 20:21 Peter Zijlstra
  2021-03-16 21:43 ` Kyle Meyer
  2021-05-17 22:01 ` Konstantin Ryabitsev
  0 siblings, 2 replies; 3+ messages in thread
From: Peter Zijlstra @ 2021-03-16 20:21 UTC (permalink / raw)
  To: tools

Hi,

Would it be possible for b4 to consume an mbox from stdin; something
like:

	b4 am -sl -m - -o -

The use case is pipeing a whole thread into it from mutt without it
having to access the web (which might not be available etc..).

Thnx!

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [REQ] b4: Allow -m from stdin
  2021-03-16 20:21 [REQ] b4: Allow -m from stdin Peter Zijlstra
@ 2021-03-16 21:43 ` Kyle Meyer
  2021-05-17 22:01 ` Konstantin Ryabitsev
  1 sibling, 0 replies; 3+ messages in thread
From: Kyle Meyer @ 2021-03-16 21:43 UTC (permalink / raw)
  To: Peter Zijlstra; +Cc: tools

Peter Zijlstra writes:

> The use case is pipeing a whole thread into it from mutt without it
> having to access the web (which might not be available etc..).

Sidenote: I think operating offline with --use-local-mbox would require
something like the patch at
<https://lore.kernel.org/tools/20210208040722.31203-1-kyle@kyleam.com>.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [REQ] b4: Allow -m from stdin
  2021-03-16 20:21 [REQ] b4: Allow -m from stdin Peter Zijlstra
  2021-03-16 21:43 ` Kyle Meyer
@ 2021-05-17 22:01 ` Konstantin Ryabitsev
  1 sibling, 0 replies; 3+ messages in thread
From: Konstantin Ryabitsev @ 2021-05-17 22:01 UTC (permalink / raw)
  To: Peter Zijlstra; +Cc: tools

On Tue, Mar 16, 2021 at 09:21:02PM +0100, Peter Zijlstra wrote:
> Hi,
> 
> Would it be possible for b4 to consume an mbox from stdin; something
> like:
> 
> 	b4 am -sl -m - -o -

This is now supported by b4 master tip and will be in 0.7.

E.g.:

    curl -sL https://lore.kernel.org/linux-staging/20210517155733.GK1955@kadam/t.mbox.gz | gunzip - | b4 am -sl -m - -o -

Best,
-K

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-05-17 22:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-16 20:21 [REQ] b4: Allow -m from stdin Peter Zijlstra
2021-03-16 21:43 ` Kyle Meyer
2021-05-17 22:01 ` Konstantin Ryabitsev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).