• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
RE: Count word's occurrences
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Count word's occurrences


  • Subject: RE: Count word's occurrences
  • From: "Lanphier, Daniel A." <email@hidden>
  • Date: Mon, 08 Sep 2014 16:23:05 +0000
  • Thread-topic: Count word's occurrences

If you want to see the values grep is matching, place “set –x” at the top of script…

 

 

Dan Lanphier
Systems Engineer • Systems Operations
w: 402.498.1567
| m: 402.680.0613

This message is privileged and confidential and is intended only for the use of the addressee. Unauthorized use of this message is strictly prohibited. If you received this transmission in error, please immediately contact the sender and destroy the message. Thank you.

 

 

From: applescript-users-bounces+daniel.lanphier=email@hidden [mailto:applescript-users-bounces+daniel.lanphier=email@hidden] On Behalf Of Omar K N
Sent: Monday, September 8, 2014 11:11 AM
To: email@hidden
Subject: OT: Count word's occurrences

 

 

Hi,

 

When running: grep Hedges FILENAME |wc -w on a file here I get very many hits than there are real occurrences in the file?!?

 

For example “Hedges” is only once in the file NN , but I get 75 hits! How can this be?

 

with best regards,

Omar K N

Stockholm, Sweden

 

 

On 08 Sep 2014, at 17:23, email@hidden wrote:



Try Os command “grep apple FILENAME |wc –w”

Dan Lanphier 

 

 

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • OT: Count word's occurrences
      • From: Omar K N <email@hidden>
References: 
 >OT: Count word's occurrences (From: Omar K N <email@hidden>)

  • Prev by Date: RE: Count word's occurrences
  • Next by Date: Re: Count word's occurences
  • Previous by thread: RE: Count word's occurrences
  • Next by thread: OT: Count word's occurrences
  • Index(es):
    • Date
    • Thread