Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Sep 2004 17:23:03 -0700 (PDT)
From:      Atle Veka <atlev@flyingcroc.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: regex replacement wizard advice needed
Message-ID:  <20040927171855.J72052@fincher.users.accretive-networks.net>
In-Reply-To: <20040927235915.082C416A4E5@hub.freebsd.org>
References:  <20040927235915.082C416A4E5@hub.freebsd.org>

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

How about something like (assuming space between numbering and paragraph
is a tab):

perl -pi -e 's,^(\d)\t,<B>$1</B><BR>,' <filename>


Atle
-
Flying Crocodile Inc, Unix Systems Administrator



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