The best scripts ever (trick or treat)

Gary Kline kline at tao.thought.org
Wed Nov 2 12:42:45 PST 2005


On Wed, Nov 02, 2005 at 10:14:40PM +0200, Giorgos Keramidas wrote:
> >
> > 	"CATEORY: foo
> > 	"FUNCTION: it_does_this
> > 	"OPTIONS: can_do_this_or_that"
> >
> > 	BEGINSCRIPT
> > 	!#/bin/sh
> > 	echo "hello world"
> > 	ENDSCRIPT
> 
> What happens when the script itself contains a line that starts
> with one of the special "markup" lines?
> 

	AFAIK, the only markup lines this would use would be
	the <TAGS></TAGS>.  A sh script might use the ">" or "<"
	for redirection, but the conversion script would ignore
	everything between 

	BEGINSCRIPT
	ENDSCRIPT

	which would make parsing straightforeward.

	gary



-- 
   Gary Kline     kline at thought.org   www.thought.org     Public service Unix



More information about the freebsd-questions mailing list