Comments (2)
fixed in dev commit 6a047f7
Will close when dev is merged into master
NOTE: I have taken some liberties in the interest of simplicity in how the string formatting is done, whereas wc (gnu coreutils) uses %6lu
in a printf
call, I have opted to simply place a space around each value this is after a while of playing around with options like {:>6}
, {:>4}
, {:>6d}
and a few other variations...if you know how I can mimic the behavior of wc using Python's new string formatting syntax, please open a new issue
from unitils.
I have improved the fix for the formatting of the output based on my work fixing #32
it is still not perfect as it is a little off from wc
when used on one file, but seems to match up well when examining multiple files.
from unitils.
Related Issues (20)
- Better documentation HOT 2
- Pawn script HOT 1
- Outdated disclaimer in README.rst HOT 1
- Remove pawn HOT 1
- nose-cprof seems to be breaking the build HOT 1
- README lies HOT 1
- grep.py outputs one contrinuous line when searching stdin HOT 1
- grep.py doesn't output anything when searching files HOT 1
- cat.py: TypeError: write() argument must be str, not bytes HOT 1
- ls.py lists item per line instead of in columns HOT 1
- find.py outputs as one continuous line HOT 1
- wc.py does not support stdin
- MVP for touch.py
- MVP for rm.py
- MVP for zip.py
- MVP for unzip.py
- MVP for more.py
- MVP for tail.py
- MVP for cal.py
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 unitils.