Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • thank you very much i corrected it but now have trouble connecting find and a variable it just does not search for anything Commented Apr 19, 2020 at 21:30
  • Not sure what does that mean. Commented Apr 19, 2020 at 21:31
  • i mean this line in the end find $MAINBUFFER it should do same asfind -iname name when i type manually in terminal manually find -iname name using the same name as in this script it works but does not seem to work in script :/ it basically searches nothing Commented Apr 19, 2020 at 21:39
  • Did you tried shellcheck.net since you're script is that long I suggest you ask another question and post it again, You're issue of missing something was resolved this is another issue. Commented Apr 19, 2020 at 21:43