sed question (bibtex problem)
If I have a file with the following format:
aaaaaaaaaaaaaaaaaaaaa%
ssssssssss
hhhhhhhh
jjjjjjjjjjjjjjjjj%
ddddddd
how do I tell sed (or another program) to remove the % and \n
character at the end of each line.
ie. something like
sed 's/%\n//'
but that doesn't work :-(
The reason:
bibtex likes to word-wrap/mangle/destroy my long lines (eg. URLs) into
this form:
\bibitem[Mic00]{Microsoft2000}
Microsoft.
\newblock Windows 2000 kerberos authentication.
\newblock White paper, Microsoft, January 2000.
\newblock
\url=http://www.microsoft.com/technet/win2000/win2ksrv/technote/kerberos.asp%
=.
which is interpreted by LaTeX to display a percent sign at the end of
the URL :-(
--
Brian May <bam@debian.org>
Reply to: