Closed Jerakin closed 6 years ago
Why do you use:
find `pwd` -name "*.lua"
…instead of…
find . -name "*.lua"
?
What does the output of your command (and thus also /Users/jerakin/Desktop/out.txt
) look like?
Used pwd instead of dot because I wanted the absolute pathname.
Using pwd gives me the output:
/Users/jerakin/Desktop/luamin_me/location_tags.lua
Using . gives me
./location_tags.lua
The file path gets echoed into the out.txt. But luamin gives the errror Error: no such file. (``)
So in both cases the path gets passed along to luamin properly
I have a very simple bash script that should give me all lua files
The output this gives me is the following
I have even tried to output the list of files to a text file and then iterating it but I get the same error
macOS High Sierra version 10.13.3