Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Add function that counts chars in file #22

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

chambln
Copy link
Contributor

@chambln chambln commented Aug 9, 2020

No description provided.

@chambln
Copy link
Contributor Author

chambln commented Aug 9, 2020

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.

**Example Usage:**

```shell
$ chars ~/.bashrc
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Its nicer to create and delete a file here. :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants