Yes, it was (and is) executing, it just wasn't working correctly. It works better with the trailing hyphen, but it's still clunky. Fortunately, I have CodeKit.app as a fallback, and it works great.
On Sunday, January 14, 2018 at 12:31:54 AM UTC-8, lucbress wrote: > > Is it made executable? > > Op 13 jan. 2018, om 17:44 heeft Greg Raven <[email protected] > <javascript:>> het volgende geschreven: > > 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] > <javascript:>> 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] <javascript:>> > 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] <javascript:>" 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] <javascript:>. > To post to this group, send email to [email protected] <javascript:> > . > 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] <javascript:>" 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] <javascript:>. > To post to this group, send email to [email protected] <javascript:> > . > 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] <javascript:>" 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] <javascript:>. > To post to this group, send email to [email protected] <javascript:> > . > Visit this group at https://groups.google.com/group/bbedit. > > > Luc Bressinck > August Wautersstraat 40C > B-9140 Temse > Belgium > +32 3 771 20 10 > +32 497 55 08 66 > [email protected] <javascript:> > > > > -- 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.
