diff mbox

Added documentation for --with-grep

Message ID 53FD3D16.5020006@physik.tu-berlin.de
State Accepted
Headers show

Commit Message

Fabian Freyer Aug. 27, 2014, 2:06 a.m. UTC
Hi All,

This patch adds documentation for the --with-grep option.

Regards,
Fabian Freyer

From ee0df4acaf860d6520209bae6644a22acbab98d0 Mon Sep 17 00:00:00 2001
From: Fabian Freyer <fabian.freyer@physik.tu-berlin.de>
Signed-off-by: "Fabian Freyer" <fabian.freyer@physik.tu-berlin.de>
Date: Wed, 27 Aug 2014 04:01:26 +0200
Subject: [PATCH] Added documentation for --with-grep

---
 docs/C - Misc. tutorials.txt | 1 +
 1 file changed, 1 insertion(+)

--
1.8.5.2 (Apple Git-48)

Comments

Bryan Hundven Aug. 27, 2014, 2:16 a.m. UTC | #1
Fabian, list,

On Tue, Aug 26, 2014 at 7:06 PM, Fabian Freyer
<fabian.freyer@physik.tu-berlin.de> wrote:
> Hi All,
>
> This patch adds documentation for the --with-grep option.
>
> Regards,
> Fabian Freyer
>
> From ee0df4acaf860d6520209bae6644a22acbab98d0 Mon Sep 17 00:00:00 2001
> From: Fabian Freyer <fabian.freyer@physik.tu-berlin.de>
> Signed-off-by: "Fabian Freyer" <fabian.freyer@physik.tu-berlin.de>
> Date: Wed, 27 Aug 2014 04:01:26 +0200
> Subject: [PATCH] Added documentation for --with-grep

Don't forget the SoB.

I use vim, and so I found a plugin called snipmate.
I'll be it, my version is a bit older, but it has the addition
snippets for adding your signed-off-by, and others:

https://github.com/bhundven/snipmate.vim/commits/master

Cheers,

-Bryan

> ---
>  docs/C - Misc. tutorials.txt | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/docs/C - Misc. tutorials.txt b/docs/C - Misc. tutorials.txt
> index d3c9506..0a827d2 100644
> --- a/docs/C - Misc. tutorials.txt
> +++ b/docs/C - Misc. tutorials.txt
> @@ -91,6 +91,7 @@ toolchain on MacOS as host.
>                 --with-objcopy=/opt/local/bin/gobjcopy         \
>                 --with-objdump=/opt/local/bin/gobjdump         \
>                 --with-readelf=/opt/local/bin/greadelf         \
> +               --with-grep=/opt/local/bin/ggrep               \
>                 [...other configure parameters as you like...]
>
>  6) proceed as described in standard documentation
> --
> 1.8.5.2 (Apple Git-48)
>

--
For unsubscribe information see http://sourceware.org/lists.html#faq
Fabian Freyer Aug. 27, 2014, 2:22 a.m. UTC | #2
Bryan, All,

On 27/08/14 04:16, Bryan Hundven wrote:
> Fabian, list,
> 
> On Tue, Aug 26, 2014 at 7:06 PM, Fabian Freyer
> <fabian.freyer@physik.tu-berlin.de> wrote:
>> Hi All,
>>
>> This patch adds documentation for the --with-grep option.
>>
>> Regards,
>> Fabian Freyer
>>
>> From ee0df4acaf860d6520209bae6644a22acbab98d0 Mon Sep 17 00:00:00 2001
>> From: Fabian Freyer <fabian.freyer@physik.tu-berlin.de>
>> Signed-off-by: "Fabian Freyer" <fabian.freyer@physik.tu-berlin.de>
>> Date: Wed, 27 Aug 2014 04:01:26 +0200
>> Subject: [PATCH] Added documentation for --with-grep
> 
> Don't forget the SoB.

I didn't, afaics.

> 
> I use vim, and so I found a plugin called snipmate.
> I'll be it, my version is a bit older, but it has the addition
> snippets for adding your signed-off-by, and others:

Thanks, I'll take a look at that!

> 
> https://github.com/bhundven/snipmate.vim/commits/master
> 
> Cheers,
> 
> -Bryan
> 
>> ---
>>  docs/C - Misc. tutorials.txt | 1 +
>>  1 file changed, 1 insertion(+)
>>
>> diff --git a/docs/C - Misc. tutorials.txt b/docs/C - Misc. tutorials.txt
>> index d3c9506..0a827d2 100644
>> --- a/docs/C - Misc. tutorials.txt
>> +++ b/docs/C - Misc. tutorials.txt
>> @@ -91,6 +91,7 @@ toolchain on MacOS as host.
>>                 --with-objcopy=/opt/local/bin/gobjcopy         \
>>                 --with-objdump=/opt/local/bin/gobjdump         \
>>                 --with-readelf=/opt/local/bin/greadelf         \
>> +               --with-grep=/opt/local/bin/ggrep               \
>>                 [...other configure parameters as you like...]
>>
>>  6) proceed as described in standard documentation
>> --
>> 1.8.5.2 (Apple Git-48)

Regards,
Fabian Freyer
Yann E. MORIN Aug. 28, 2014, 8:27 p.m. UTC | #3
Bryan, All,

On 2014-08-26 19:16 -0700, Bryan Hundven spake thusly:
> On Tue, Aug 26, 2014 at 7:06 PM, Fabian Freyer
> <fabian.freyer@physik.tu-berlin.de> wrote:
> > Hi All,
> >
> > This patch adds documentation for the --with-grep option.
> >
> > Regards,
> > Fabian Freyer
> >
> > From ee0df4acaf860d6520209bae6644a22acbab98d0 Mon Sep 17 00:00:00 2001
> > From: Fabian Freyer <fabian.freyer@physik.tu-berlin.de>
> > Signed-off-by: "Fabian Freyer" <fabian.freyer@physik.tu-berlin.de>
> > Date: Wed, 27 Aug 2014 04:01:26 +0200
> > Subject: [PATCH] Added documentation for --with-grep
> 
> Don't forget the SoB.
> 
> I use vim, and so I found a plugin called snipmate.

Ack! snipmate is utterly usefull! I could not live without it, now.

> I'll be it, my version is a bit older, but it has the addition
> snippets for adding your signed-off-by, and others:
> 
> https://github.com/bhundven/snipmate.vim/commits/master

I too have my sob-and-the-likes snippets:

    snippet ack
        Acked-by:
    snippet rev
        Reviewed-by:
    snippet sob
        Signed-off-by:
    snippet tst
        Tested-by:
    snippet rep
        Reported-by:
    snippet ME
        "Yann E. MORIN" <yann.morin.1998@free.fr>
    snippet me
        yann.morin.1998@free.fr

So, with them, I can do something like:

    sob<TAB>ME<TAB>
which gives:
    Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Or, when I modify an existing commit:
    [me<TAB>: blabla]
which gives:
    [yann.morin.1998@free.fr: blabla]

My snippets also contain a bunch of short-hand for a bunch of people I
often have to deal with. snipmate also completes its own snippets, so:
    bh<TAB>  -->  bhundven<TAB>  -->  Bryan Hundven <bryanhundven@gmail.com>

I also have a bunch of other snippets; rgd<TAB> would give:

Regards,
Yann E. MORIN.
diff mbox

Patch

diff --git a/docs/C - Misc. tutorials.txt b/docs/C - Misc. tutorials.txt
index d3c9506..0a827d2 100644
--- a/docs/C - Misc. tutorials.txt
+++ b/docs/C - Misc. tutorials.txt
@@ -91,6 +91,7 @@  toolchain on MacOS as host.
                --with-objcopy=/opt/local/bin/gobjcopy         \
                --with-objdump=/opt/local/bin/gobjdump         \
                --with-readelf=/opt/local/bin/greadelf         \
+               --with-grep=/opt/local/bin/ggrep               \
                [...other configure parameters as you like...]

 6) proceed as described in standard documentation