3 ms·
I have written many cross-platform shell scripts over the years. The -print option may have been made standard by the GNU implementation and then spread -- I d
by KWxIUElW8Xt0tD9 11y ago
I have written many cross-platform shell scripts over the years. The -print option may have been made standard by the GNU implementation and then spread -- I don't know -- but at least on some older versions of UNIX you do indeed need to specify -print or it won't.
- vram22 11y agoYes, I think that is true. Speaking from memory, but I've worked on Unix for long, and I think I remember that on some older Unix versions, you had to specify -print, otherwise it would walk the directory tree according the conditions you specified (such as filename wildcards, the -o option (for OR), etc.), but would produce no output for that walk.
- deleted 11y ago[deleted]