Thread: Regex examples
View Single Post
Old 06-19-2012, 12:28 PM   #82
Doitsu
Wizard
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 2,143
Karma: 4966637
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by roger64 View Post
What means BOM?
BOM = byte order mark.

At least the Windows GNU sed port requires that both the .html files and the sed script be utf8 files without byte order marks. AFAIK, .html files created by Sigil are automatically saved without BOMs. I.e. you only have to make sure that the sed script doesn't have one either.

Quote:
Originally Posted by DiapDealer View Post
Sorry, I was only thinking in terms of the F&R regex feature of Sigil.
Every now and then you may want to widen your horizon.
But you are of course right, Sigil doesn't do sed.

That's when even rudimentary sed or Perl skills come in handy.
Doitsu is offline   Reply With Quote