From owner-freebsd-questions@FreeBSD.ORG Thu Jun 18 12:02:11 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 25C38106564A for ; Thu, 18 Jun 2009 12:02:11 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [IPv6:2001:4070:101:2::1]) by mx1.freebsd.org (Postfix) with ESMTP id 2D51E8FC20 for ; Thu, 18 Jun 2009 12:02:09 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (localhost [IPv6:::1]) by wojtek.tensor.gdynia.pl (8.14.3/8.14.3) with ESMTP id n5IC1x83041065; Thu, 18 Jun 2009 14:01:59 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.3/8.14.3/Submit) with ESMTP id n5IC1wF5041062; Thu, 18 Jun 2009 14:01:59 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Thu, 18 Jun 2009 14:01:58 +0200 (CEST) From: Wojciech Puchar To: Martin McCormick In-Reply-To: <200906181155.n5IBtfU1046242@dc.cis.okstate.edu> Message-ID: References: <200906181155.n5IBtfU1046242@dc.cis.okstate.edu> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: Automated Production of Web Pages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jun 2009 12:02:11 -0000 > I have been asked to come up with an automated way of producing > web pages. Specifically, this is for mrtg but it really doesn't > matter. The idea is that there are many pages which are > identical except for different names and a couple of other items > such as whether the page represents a system that is actively > being polled or was being polled at one time but is now here for > archival purposes, that sort of thing. sed is great for your needs. If not enough - simply write bash script. HTML is purely text format, so generating it with unix tools is simple. > Is there any open-source platform which makes this > especially quick and easy? Of course, as one who likes to script Yes. all standard unix tools. bash, sed, perl, awk, 100th of others.