diff options
author | enami <enami> | 2002-04-27 02:42:22 +0000 |
---|---|---|
committer | enami <enami> | 2002-04-27 02:42:22 +0000 |
commit | 5d9bba98fbb469a83c2a0f294c94415cc4cc88e6 (patch) | |
tree | 92c5cfd9e1ed91add7099c3bf00cae83be8a7767 /Packages.txt | |
parent | 9842ba136b68f05b846cdd30b86664ee3df1f2d0 (diff) | |
download | pkgsrc-5d9bba98fbb469a83c2a0f294c94415cc4cc88e6.tar.gz |
Shorter command to generate a TOC.
Diffstat (limited to 'Packages.txt')
-rw-r--r-- | Packages.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Packages.txt b/Packages.txt index b79f7e09db1..ed6f066088e 100644 --- a/Packages.txt +++ b/Packages.txt @@ -1,4 +1,4 @@ -# $NetBSD: Packages.txt,v 1.243 2002/04/13 12:59:52 wiz Exp $ +# $NetBSD: Packages.txt,v 1.244 2002/04/27 02:42:22 enami Exp $ ########################################################################### ========================== @@ -13,7 +13,7 @@ Table of contents: ================== Run this command to produce a table of contents: - grep -B1 '^.====' Packages.txt | egrep -v '^.[-=]' + sed '/^.====/{g;p;};h;d' Packages.txt 0 Intro |