Skip to content

Commit d6a2bbc

Browse files
committed
updated markdown
1 parent b3ad3b4 commit d6a2bbc

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

tutorials/genesismud.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -899,11 +899,18 @@ http://www.chrisunkel.com/WinMOO/winmoo-faq.html
899899
Q. When I take my database written by WinMOO, and try to load it into a LambdaMOO server under Unix, it doesn't work. What's going on?
900900
901901
A. Most likely, your database contains CRLF sequences (the Windows sequence) as the line-termination character, rather than the straight LF that Unix expects. Probably
902-
this manifests as log messages that include something like "*** DBIO_READ_NUM: Bad number:". You need to remove the CRs.
902+
this manifests as log messages that include something like:
903903
904-
There are many ways to do this. One is to FTP the file from the Windows machine to the Unix machine in ASCII rather than binary mode, which will perform appropriate
905-
translation of end-of-line sequences. Another is to strip out the CRs, e.g. with:
904+
```
905+
"*** DBIO_READ_NUM: Bad number:". You need to remove the CRs.
906+
```
907+
908+
There are many ways to do this. One is to FTP the file from the Windows machine to the Unix machine in ASCII rather than binary mode, which will perform appropriate translation of end-of-line sequences. Another is to strip out the CRs, e.g. with:
909+
910+
```bash
906911
tr -d '\015' < foo-crlf.db > foo-lf.db
912+
```
913+
907914
----------------------------------------------------------------------
908915
909916
"tr" is the unix Translate command. Okay, let's give that a shot.

0 commit comments

Comments
 (0)