Passing Variables Into a Shell Script

Hey @Maglov,

Welcome to the forum!  :sunglasses:

The best way to get help with something like this is to post a minimal “working” text-case macro for people to test.

If you have code that actually does work in the Terminal then post a same of that as well.

Trying to debug by eye without actually testing is generally a waste of time.


When posting macros to the Keyboard Maestro forum please use these guidelines:

  1. Always post a Macro File.
  2. Always post an image.

This means people won't have to reinvent the wheel to test your macro, and that significantly improves the likelihood that someone will help you.

Folks generally won't download something they haven't eyeballed first, so an image of the macro is crucial.


If you haven't seen these they're worth a moment of your time:

How to Post Your Macro to the Forum

Tip: How Do I Get The Best Answer in the Shortest Time?


--
Take Care,
Christopher Stone

(Keyboard Maestro Moderator)