ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
When not to use shell scripts
resource−intensive tasks, especially where speed is a factor (sorting, hashing, etc.)
procedures involving heavy−duty math operations, especially floating point arithmetic, arbitrary
precision calculations, or complex numbers (use C++ or FORTRAN instead)
cross−platform portability required (use C instead)
complex applications, where structured programming is a necessity (need typechecking of variables,
function prototypes, etc.)
mission−critical applications upon which you are betting the ranch, or the future of the company ·
situations where security is important, where you need to guarantee the integrity of your system and
protect against intrusion, cracking, and vandalism
project consists of subcomponents with interlocking dependencies
extensive file operations required (Bash is limited to serial file access, and that only in a particularly
clumsy and inefficient line−by−line fashion)
need multi−dimensional arrays
need data structures, such as linked lists or trees need to generate or manipulate graphics or GUIs
need direct access to system hardware
need port or socket I/O
need to use libraries or interface with legacy code
proprietary, closed−source applications (shell scripts are necessarily Open Source)
I can't say an absolute NO, but i've never seen something like that.
you can use "clear" to clear the screen and use tabs (\t) and new lines (\n) and programs like "banner" to give a nice output. You may also combine your scripts with high-level programming languages programs, but if a nice interface is your priority you probably shouldn't use bash.
...Just my opinion
Last edited by perfect_circle; 12-02-2004 at 08:14 AM.