Comments (5)
我试一下再说,有可能是Mac的换行符与Linux不同。
from fortunes.
确认不是因为换行符的问题,估计Mac平台需要单独生成dat索引文件,不知道 strfile 命令在Mac平台是否可用。
我手边没有 Mac,只能等等再解决了。
from fortunes.
能够运行一下strfile,告诉我结果吗?
可以在fortune/data
目录中,运行下面命令。
$ strfile song100
from fortunes.
我在Mac上同样遇到这样的问题,运行strfile song100
得到下面的结果:
"song100.dat" created
There were 95 strings
Longest string: 955 bytes
Shortest string: 175 bytes
发现对文件运行strfile命令之后格式正确了
from fortunes.
👍
from fortunes.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fortunes.