summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorwosch <wosch@FreeBSD.org>1997-04-25 14:14:39 +0000
committerwosch <wosch@FreeBSD.org>1997-04-25 14:14:39 +0000
commit9ce971f4dee00c5727814d0054b33725e51298b0 (patch)
treead603c89b5a014858e224a35345753daa6c9a624 /tools
parentd127247cc9c61567e026ba9df630246841923b37 (diff)
downloadFreeBSD-src-9ce971f4dee00c5727814d0054b33725e51298b0.zip
FreeBSD-src-9ce971f4dee00c5727814d0054b33725e51298b0.tar.gz
Add portsinfo, which generate list of new ports for last two weeks.
Diffstat (limited to 'tools')
-rw-r--r--tools/tools/README3
-rw-r--r--tools/tools/portsinfo/portsinfo.sh21
2 files changed, 23 insertions, 1 deletions
diff --git a/tools/tools/README b/tools/tools/README
index 70b5124..ef68551 100644
--- a/tools/tools/README
+++ b/tools/tools/README
@@ -1,4 +1,4 @@
-# $Id$
+# $Id: README,v 1.8 1997/02/22 14:08:16 peter Exp $
This directory is for tools.
@@ -15,3 +15,4 @@ tcl_bmake generates a bmake Makefile for src/lib/libtcl
kdrv KernelDriver; add/list/remove third-party kernel driver
source to/in/from a kernel source tree.
scsi-defects Get at the primary or grown defect list of a SCSI disk.
+portsinfo Generate list of new ports for last two weeks.
diff --git a/tools/tools/portsinfo/portsinfo.sh b/tools/tools/portsinfo/portsinfo.sh
new file mode 100644
index 0000000..b8a53f4
--- /dev/null
+++ b/tools/tools/portsinfo/portsinfo.sh
@@ -0,0 +1,21 @@
+#!/bin/sh
+# Copyright (c) April 1997 Wolfram Schneider <wosch@FreeBSD.org>, Berlin.
+#
+# portsinfo - Generate list of new ports for last two weeks.
+#
+# $Id$
+
+url=http://www.de.freebsd.org/de/cgi/ports.cgi
+time='?type=new&time=2+week+ago&sektion=all'
+
+lynx -nolist -dump "$url$time" | grep -v "Description _:_" |
+perl -ne 's/_$//; s/:_ /: /; s/^(\s+)_/$1/; print if (/Main/ .. /____/)' |
+perl -ne 'if (/Main Category/) {
+ print; for(1..50) {print "="}; print "\n";
+ } else { print}'
+
+echo "This information was produced at `date -u +'%Y/%m/%d %H:%M UTC'` by"
+echo "$url"
+
+
+
OpenPOWER on IntegriCloud