dylanaraps / pure-sh-bible

📖 A collection of pure POSIX sh alternatives to external processes.
MIT License
6.45k stars 281 forks source link

Add function that counts chars in file #22

Open chambln opened 4 years ago

chambln commented 4 years ago

As a corollary to this, I wonder if it is possible to emulate something like du(1), to some extent? I don't know enough about how file sizes work or whether it's meaningful to count the number of characters in something that's not plain text.