Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jul 1995 19:06:01 +0200
From:      Wolfram Schneider <wosch@cs.tu-berlin.de>
To:        bugs@freebsd.org
Subject:   /usr/share/perl/dialog.ph
Message-ID:  <199507171706.TAA18552@caramba.cs.tu-berlin.de>

next in thread | raw e-mail | index | archive | help


$ perl -cw dialog.ph 
syntax error in file dialog.ph at line 21, next 2 tokens "\attributes["
syntax error in file dialog.ph at line 22, next 2 tokens "\attributes["
syntax error in file dialog.ph at line 23, next 2 tokens "\attributes["
syntax error in file dialog.ph at line 24, next 2 tokens "\attributes["
syntax error in file dialog.ph at line 25, next 2 tokens "\attributes["
syntax error in file dialog.ph at line 26, next 2 tokens "\attributes["
syntax error in file dialog.ph at line 27, next 2 tokens "\attributes["
syntax error in file dialog.ph at line 28, next 2 tokens "\attributes["
syntax error in file dialog.ph at line 29, next 2 tokens "\attributes["
syntax error in file dialog.ph at line 30, next 2 tokens "\attributes["
dialog.ph has too many errors.


Solution:
$ sed 's/\&attributes\[/$attributes[/' dialog.ph > dialog.ph.new
$ mv dialog.ph.new dialog.ph


Wolfram




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199507171706.TAA18552>