Can anyone explain to me the difference in the output of these three
commands (OS: Tru64 5.0a)? Why does the first not find all of the log
files? Why does it find any if it's not going to find them all? Why isn't
the \ looking for a literal *? And why didn't the first statement work two
minutes later, but it did the first time, and when I mistyped 'log'? Am I
missing something here? Hello???
# find . -name *log
./analyze.log
# find . -name \*log
./sapreorg/reorgBWP.log
./sapreorg/structBWP.log
./saptrace/background/alert_BWP.log
./saptrace/usertrace/sbtio.log
./orainst/usrdfl.log
./orainst/install.log
./orainst/sql.log
./orainst/make.log
./orainst/os.log
./orainst/holdfile.log
./orainst_sap/usrdfl.log
./network/log
./network/log/listener.log
./network/log/lsnrbwp.log
./rdbms/log
./rdbms/log/alert_BWP.log
./odg/log
./analyze.log
# find . -name "*log"
./sapreorg/reorgBWP.log
./sapreorg/structBWP.log
./saptrace/background/alert_BWP.log
./saptrace/usertrace/sbtio.log
./orainst/usrdfl.log
./orainst/install.log
./orainst/sql.log
./orainst/make.log
./orainst/os.log
./orainst/holdfile.log
./orainst_sap/usrdfl.log
./network/log
./network/log/listener.log
./network/log/lsnrbwp.log
./rdbms/log
./rdbms/log/alert_BWP.log
./odg/log
./analyze.log
# find . -name *llog
# find . -name *log
find: missing conjunction
# find *log
analyze.log
# find "*log"
find: *log : No such file or directory
Regards,
David Hull
SAP Basis Administrator
Jabil Circuit, Inc.
+1.727.803.3855
Received on Fri Aug 18 2000 - 21:19:10 NZST