POSIX Shell Programming Challenge - Programming On Unix
Users browsing this thread: 4 Guest(s)
|
|||
(12-04-2021, 10:49 AM)movq Wrote: How about that: I don't know whether this is technically correct according to POSIX or not, but it doesn't work in ZSH. In ZSH, "test/.*" is an error if there are no hidden files in the directory, and "test/*" is an error if there are no non-hidden files in the directory. Otherwise, this seems to work really well in the other shells. |
|||