所以我试图在 bash 中创建一个文件,但我得到一个奇怪的错误,这是我的代码:
touch > "application/views/scripts/"$theFile"/"awk '{tolower($theFile".phtml")}'
错误:
./zf.sh: line 16: application/views/scripts/foo/awk: No such file or directory
我正在尝试根据用户输入创建一个文件,例如:./zf.sh: line 16: application/views/scripts/foo/foo.phtml: No such file or directory