Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: One-command mail import with X-Seq: and ChangeLog



Bart Schaefer wrote:
[...]
> I think the first thing I'm going to do unless you beat me to it is to
> make zsh-am read patch emails from standard input [...]

The latest code from zsh-am's git repository¹ now supports doing that.
The mode is entered in two cases:

   1.) There is _no_ non-option argument on the command line
   2.) There is exactly _one_ non-option argument and that
       argument is exactly one single dash: "-"

Also, that mode requires mktemp(1) to be available².


Regards, Frank

¹ https://github.com/ft/zsh-am
² mktemp(1) is not POSIX, so it's not strictly portable, but widely
  available across many operating systems; if your system does not have
  it, that's though luck. ;)



Messages sorted by: Reverse Date, Date, Thread, Author