Re: [PATCH v2 1/2] Fit to Plan 9's ANSI/POSIX compatibility layer
Thank you for your review!
2020年9月10日(木) 4:56 Eric Sunshine <sunshine@sunshineco.com>:
Show 27 quoted lines
>
> On Wed, Sep 9, 2020 at 3:48 PM Kyohei Kadota via GitGitGadget
> <gitgitgadget@gmail.com> wrote:
> > And its sed(1)'s label is limited to maximum seven characters.
> > Therefore I replaced some labels to drop a character.
> >
> > * close -> cl
> > * continue -> cont (cnt is used for count)
> > * line -> ln
> > * hered -> hdoc
> > * shell -> sh
> > * string -> str
>
> These are reasonable. "cl" feels a little odd, but I can't think of
> anything better.
>
> > diff --git a/generate-cmdlist.sh b/generate-cmdlist.sh
> > @@ -24,7 +24,7 @@ category_list () {
> > get_synopsis () {
> > sed -n '
> > - /^NAME/,/'"$1"'/H
> > + /^NAME/,/'"$1"'/h
>
> This change is not mentioned in the commit message. "H" and "h" are
> very different commands, so it's difficult, at a glance, to tell if
> this change is even valid. Some explanation in the commit message
> would help (if it is indeed valid).I missed, this change was not needed. It is remnants of trial and error.