开发者

Getting Applescript to do some work

开发者 https://www.devze.com 2023-01-04 21:09 出处:网络
I have two fil开发者_开发百科es. One has a list of words.The other has a large list of words that includes all words in the original file.How can I write a script to search all words in list 1 and ge

I have two fil开发者_开发百科es.

One has a list of words. The other has a large list of words that includes all words in the original file. How can I write a script to search all words in list 1 and get the line on list 2 with that exact word (list 2 has the words plus additional information) and write them to a third file?

I've been searching online but couldn't find a solution.


I would look at sed, awk or grep one of those tools should be the right direction...

0

精彩评论

暂无评论...
验证码 换一张
取 消