Git Product home page Git Product logo

Comments (5)

ruanyf avatar ruanyf commented on May 2, 2024

我试一下再说,有可能是Mac的换行符与Linux不同。

from fortunes.

ruanyf avatar ruanyf commented on May 2, 2024

确认不是因为换行符的问题,估计Mac平台需要单独生成dat索引文件,不知道 strfile 命令在Mac平台是否可用。

我手边没有 Mac,只能等等再解决了。

from fortunes.

ruanyf avatar ruanyf commented on May 2, 2024

能够运行一下strfile,告诉我结果吗?

可以在fortune/data目录中,运行下面命令。

$ strfile song100

from fortunes.

kk17 avatar kk17 commented on May 2, 2024

我在Mac上同样遇到这样的问题,运行strfile song100得到下面的结果:

"song100.dat" created
There were 95 strings
Longest string: 955 bytes
Shortest string: 175 bytes

发现对文件运行strfile命令之后格式正确了

from fortunes.

ugoa avatar ugoa commented on May 2, 2024

👍

from fortunes.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.