[BASH] проблема написания скрипта
Hello, I'm a beginner in programming and I'm having trouble writing a script. Write a script with two parameters: file name mask and directory name. The script's task is to display a list of file names from the given directory, matching the given mask together with the name of the owner and his UID number I am asking for advice on the execution of the script. Regards. :) What I have tried: <pre>! # / Bin / bash find "$ 1" -name "*. $ 2" -exec stat -c "% N% u% U" '{}' \;
Richard MacCutchan
Использование "*.$2", вероятно, неверно, так как второй параметр-это полная маска имени файла в соответствии с вашим вопросом.