nonblank

count (non-blank) lines-of-code in bash

In Bash, how do I count the number of non-blank lines of code in a project? ...

Android: need to validate an edittext for non-blank input

If I want to enforce a maximum length of input in an EditText field, I can use the maxLength attribute. But if I want to enforce a minimum length (in my case, simply non-blank), I find no corresponding minLength attribute. I've also looked at the various 'inputType' attributes (phone, password, etc) but I don't see anything like 'requi...