On Tue, Sep 28, 2010 at 15:47, Michael J Gruber <git@xxxxxxxxxxxxxxxxxxxx> wrote: > If portability is an issue one can work around it - is "grep -A 1" > portable? I'd also have to get rid of sort --key=2. No says http://man.cx/grep(1posix) On the other hand I don't think portability is that important here. But if you want to make it portable using awk to do most of the work is probably easiest. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html