D’oh! I didn’t read down that far. Thanks, Fletcher!

Sent from my iPhone

> On Jan 13, 2018, at 8:13 AM, Fletcher Sandbeck <[email protected]> wrote:
> 
> It looks like JSHint requires a dash to indicate that it should read content 
> from standard input. Many CLI tools read from stdin by default when they 
> don't see a file name specified, but others require - or another parameter to 
> trigger this behavior.
> 
> #!/bin/bash
> jshint -
> 
> http://jshint.com/docs/cli/#specifying-input
> 
> Hope this helps,
> 
> [fletcher]
> 
> 
>> On Jan 13, 2018, at 7:32 AM, Greg Raven <[email protected]> wrote:
>> 
>> I have three text filters in my BBEdit Text Filters folder. Two work, but 
>> one doesn't.
>> 
>> This works:
>> 
>> #!/bin/bash
>> csscomb assets/css
>> 
>> This works:
>> 
>> #!/bin/bash
>> js-beautify
>> 
>> 
>> This doesn't:
>> 
>> #!/bin/bash
>> jshint
>> 
>> 
>> If I open the Terminal.app and navigate to a folder containing a JavaScript 
>> file, I can type in ...
>> 
>> jshint analytics.js
>> 
>> ... (for example) and get a report as expected. I can also invoke the other 
>> two from the command line and have them work as expected.
>> 
>> Any thoughts on what I'm missing?
>> 
>> -- 
>> This is the BBEdit Talk public discussion group. If you have a 
>> feature request or would like to report a problem, please email
>> "[email protected]" rather than posting to the group.
>> Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "BBEdit Talk" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at https://groups.google.com/group/bbedit.
> 
> -- 
> This is the BBEdit Talk public discussion group. If you have a 
> feature request or would like to report a problem, please email
> "[email protected]" rather than posting to the group.
> Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>
> --- 
> You received this message because you are subscribed to a topic in the Google 
> Groups "BBEdit Talk" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/bbedit/Zf4-iSmq38E/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to 
> [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/bbedit.

-- 
This is the BBEdit Talk public discussion group. If you have a 
feature request or would like to report a problem, please email
"[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>
--- 
You received this message because you are subscribed to the Google Groups 
"BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/bbedit.

Reply via email to