Re: sed question (bibtex problem)

2000-11-07 Thread Brian May
> "Daniel" == Daniel Reuter <[EMAIL PROTECTED]> writes: Daniel> It should work from command line using bash's multiline Daniel> input capability (with the '). It checks for % at the end Daniel> of lines (hence the $), then reads the next line into the Daniel> buffer and then re

Re: sed question (bibtex problem)

2000-11-05 Thread Daniel Reuter
Hello Brian, Check this: sed '/%$/{ N s/%\n// }' yourfile.bib It should work from command line using bash's multiline input capability (with the '). It checks for % at the end of lines (hence the $), then reads the next line into the buffer and then removes the %\n sequence (I don't quite unders

Re: sed question (bibtex problem)

2000-11-02 Thread Damian Menscher
On Fri, 3 Nov 2000, Brian May wrote: > 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=ht

sed question (bibtex problem)

2000-11-02 Thread Brian May
If I have a file with the following format: a% ss j% ddd 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 li