lkml.org 
[lkml]   [2011]   [Dec]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [GIT PULL] ext4 bugfixes for 3.2-rc5
Linus Torvalds <torvalds@linux-foundation.org> writes:
> git cat-file commit 2240a7bb479c |
> awk '/^mergetag /,/^$/ { print }' |
> sed 's/^mergetag//' |
> sed 's/^ //'
>
> (ok, that can almost certainly be done smarter,

Forfilling your prediction that it could be smarter, here is the same
in a single sed invocation:

git cat-file commit 2240a7bb479c |
sed -rn '/^mergetag /,/^$/{s/^(mergetag)? //p}'
I don't expect anyone cares though...

--
`O O' | Nick.Holloway@pyrites.org.uk
// ^ \\ | http://www.pyrites.org.uk/

\
 
 \ /
  Last update: 2011-12-17 09:31    [from the cache]
©2003-2011 Jasper Spaans