On Fri, Oct 21, 2022 at 01:50:29PM -0400, Greg Wooledge wrote: > On Fri, Oct 21, 2022 at 01:21:44PM -0400, Gary Dale wrote: > > sed -i -s 's/\s*\<hr\ \ style.*\>//g' history.html > > > > Unfortunately, the replacement doesn't remove the line but rather leaves me > > with: > > > > <;"> > > The 's' command in sed doesn't remove lines. It performs a substitution > within a line. > > To remove lines, use the 'd' command instead.
This is even better. Still the substitution above looks funny, doesn't it? Cheers -- t
signature.asc
Description: PGP signature