Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: fg and bg tests
- X-seq: zsh-workers 42724
- From: Peter Stephenson <p.stephenson@xxxxxxxxxxx>
- To: Zsh hackers' list <zsh-workers@xxxxxxx>
- Subject: Re: PATCH: fg and bg tests
- Date: Wed, 25 Apr 2018 18:41:10 +0100
- Cms-type: 201P
- Dkim-filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20180425174117euoutp018d13aaa250cb9b6a7a0a5795e98632e9~ovqIymhPO1303213032euoutp01i
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1524678077; bh=m2B8uMn0oeLD8HMTI9W8OgKmbvZVJiYFK7feN8em7wM=; h=Date:From:To:Subject:In-Reply-To:References:From; b=GFoiEqIyAll6Mum0zuh9YDJ6fapTlKbjdII7kDUdNovySCB8BcSeOXKFatoP5nUHS AY8o9QRJy2nneIcebROmBnrXH19UnfrvlIRTsrPrMig+ihbp5GgGoP7NJIIfOWe0Wt QlAYQIpSM2xrg27TFbgOuwMKa8VGWc6TOAx9O0D4=
- In-reply-to: <CAH+w=7ZoMcrLvctSnUv7RuA=W555J1HenpbOD55X7ZFr3XPQ7Q@mail.gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- Organization: SCSC
- References: <CGME20180425090941eucas1p187cf5d07341d2041c15e9947962f3bd9@eucas1p1.samsung.com> <20180424135944.64e73c62@camnpupstephen.cam.scsc.local> <20180425100940.31816d28@camnpupstephen.cam.scsc.local> <CAH+w=7bxJQN6bvGdGNmGrA7jDa9xJei+kQ_0X+0kxX9pR176Zg@mail.gmail.com> <20180425155647.3e897139@camnpupstephen.cam.scsc.local> <20180425180155.13597f28@camnpupstephen.cam.scsc.local> <CAH+w=7ZoMcrLvctSnUv7RuA=W555J1HenpbOD55X7ZFr3XPQ7Q@mail.gmail.com>
On Wed, 25 Apr 2018 10:16:34 -0700
Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> (Regular work hours for me here now so promptness and length of reply
> are limited.)
>
> On Wed, Apr 25, 2018 at 10:01 AM, Peter Stephenson
> <p.stephenson@xxxxxxxxxxx> wrote:
> >
> > dc is even less verbose [...] So let's try that.
>
> For what it's worth, "ed" on MacOS seems to be prompting with a "?"
> after every command. Your first though about ignoring everything
> until the final result would probably have worked.
Hmm... the non-MacOS ed documentation seem fairly clear that prompting
is off by default and when it's on it's a "*" (unless there's an error).
Anyway, ignoring output turned out to be harder than expected ---
finding a consistent point in the code that didn't give blank
lines (that I couldn't necessarily rely on being present) wasn't that
easy. I'd probably have needed to edit the output to compare only
relevant lines.
With a bit of luck, dc is easier to manage all round.
pws
Messages sorted by:
Reverse Date,
Date,
Thread,
Author