After 1.5 days, help is requested. I think my goal is working in the first Execute shell script to select 5 character words that do not have a letter in a specific position. but I want to change the pattern through different letters in different word positions hence my attempt at using a KMVAR in the second execute shell script.
thanks for the help.
In your last Execute action, I don't see any words that have an "a" in the second position. Therefore the grep command returns nothing. Therefore, I think, (not sure why) you get an error. You can turn off errors for that action using the cogwheel, and then execution should continue and you should be fine.
That's an excellent point. Every time I get a new computer I turn that option off in my System Settings because it harms programmers. Basically, everyone should turn off these options...
this is a good thought which has tripped me up before. if you open the macro and edit the search string there are 3 periods that can be deleted as opposed to one ellipse. unless something is translating the 3 periods at the 2nd shell script? I do have that turned off in macOS settings. also the first shell script does work.
can you tell me where the global default "include all" would be changed? on the first shell script "include all variables" is not selected. sorry I am just trying to understand how I did this or did not understand this in any documentation.
The default should be "Include all variables" I'm not sure how that would have gotten changed if you hadn't set it differently. That is a new menu/setting in KM 11 and it's included in the wiki documentation on the Execute Shell Script action.