diff options
author | enami <enami@pkgsrc.org> | 2002-04-27 02:42:22 +0000 |
---|---|---|
committer | enami <enami@pkgsrc.org> | 2002-04-27 02:42:22 +0000 |
commit | f6c1a22829f8ffa61f3b4dcbfb0e3d10bc64eec3 (patch) | |
tree | 92c5cfd9e1ed91add7099c3bf00cae83be8a7767 /Packages.txt | |
parent | c33ec430a162289003436a2ec153b1c63e4858bb (diff) | |
download | pkgsrc-f6c1a22829f8ffa61f3b4dcbfb0e3d10bc64eec3.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 |