Re: [PATCH] generate-cmdlist.sh: avoid selecting synopsis at wrong place
- From
- Santi Béjar <santi@agolina.net>
- Date
- Sep 18, 2008, 16:09 UTC
- Message-ID
- <adf1fd3d0809180909o2043ae36vda7ae2370f900169@mail.gmail.com>
- In-Reply-To
- <1221753703-3331-1-git-send-email-pclouds@gmail.com>
On Thu, Sep 18, 2008 at 6:01 PM, Nguyễn Thái Ngọc Duy <pclouds@gmail.com> wrote:
Show 5 quoted lines
> In "common" man pages there is luckily no "NAME" anywhere except at > beginning of documents. If there is another "NAME", sed could > mis-select it and lead to common-cmds.h corruption. So better nail it > at beginning of line, which would reduce corruption chance. >
You could narrow it even more with /^NAME$/
Santi