This statement is in fact a strong over-generalization.
Declares are very useful, but often there are much simpler small or
very small shell based solution.
Some examples:
- Find a file 'ABC' in your file system:
find / -name ABC -print
- Trace the last lines of a file, e.g. a log file
tail -f /var/log/messages
- Find all occurrences of a string ABC in the current directory:
fgrep ABC *
As you see, shell script have their strong points, while Declares are
useful too.
You should decide - based on your task and your knowledge - which
option to choose.
Am 11.05.2006 um 23:36 schrieb Joseph Ranieri:
Declares are the better solution -- they're just a bit more
complicated to use.
-- Joe Ranieri
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>