• Welcome to the Off-Topic/Schweb's Lounge

    In addition to the Mac-Forums Community Guidelines, there are a few things you should pay attention to while in The Lounge.

    Lounge Rules
    • If your post belongs in a different forum, please post it there.
    • While this area is for off-topic conversations, that doesn't mean that every conversation will be permitted. The moderators will, at their sole discretion, close or delete any threads which do not serve a beneficial purpose to the community.

    Understand that while The Lounge is here as a place to relax and discuss random topics, that doesn't mean we will allow any topic. Topics which are inflammatory, hurtful, or otherwise clash with our Mac-Forums Community Guidelines will be removed.

Word Count script...

M

MacHeadCase

Guest
I'm a fan of John Gruber/Daring Fireball but I haven't been visiting his website with much regularity lately because of school for one thing.

I just visited today and three days ago he posted a cool looking article about one of his friend's ThisService Mac OS X add-on and a script he wrote for it,‘Word Count’ Script for ThisService.

Think I'm gonna try it! And if anyone in here has the soul of a script writer, you might have fun with writing some of your own! :girl:
 
Joined
Apr 29, 2006
Messages
4,576
Reaction score
378
Points
83
Location
St. Somewhere
Your Mac's Specs
Mac Studio, M1 Max, 32 GB RAM, 2 TB SSD
Sorry, I just have to add this. The above is very clever to be sure, but fire up Terminal and check out the humble "wc" utility. wc stands for ...you guessed it... word count. It also counts the number of lines, via "wc -l". It can also tell you the number of characters or the number of bytes (which may be different than the number of characters if you are using unicode).

Terminal is an under appreciated powerhouse!
 
OP
M

MacHeadCase

Guest
I am Terminal-ly challenged.
icon10.gif


I just thought there are other members like me in Mac-Forums, that's why I posted this.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top