RE: Count word's occurrences
RE: Count word's occurrences
- Subject: RE: Count word's occurrences
- From: "Lanphier, Daniel A." <email@hidden>
- Date: Mon, 08 Sep 2014 18:48:03 +0000
- Thread-topic: Count word's occurrences
If not proprietary, private or too large, you can send me your file so I can see what it is?
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: Omar K N [mailto:email@hidden]
Sent: Monday, September 8, 2014 12:54 PM
To: Lanphier, Daniel A.
Cc: email@hidden
Subject: OT: Count word's occurrences
Where do I write the "set –x” ?
I don’t run a script, only line for line.
f. ex. grep Hedges FILENAME | wc -w
I have checked and I only have 1 occurrence of Hedges in the file, still I get 75 hits.
Same with "Hedges,” 75 hits.
There are no xsdfdHedgesfsfsfsg.
And this is the same with other words, I get a 0 if non-existent.
On 08 Sep 2014, at 18:23, Lanphier, Daniel A. <email@hidden> wrote:
If you want to see the values grep is matching, place “set –x” at the top of script…
|
_______________________________________________
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