My scrapbook about almost anything I stumble upon in my tech world. If you find anything useful don't forget to give thumbs-up :)

Breaking

Tuesday, September 8, 2015

When NOT to use Shell Script



We have gone through the post where we have learn about the Best Practices to write Linux Shell Script ( If not, Click Here ). Today, we will see when not to use a shell script -



¨     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 ( C++ or FORTRANshould be used instead)
·       cross−platform portability required ( C  should be used 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 protect against hacking
·        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)





Like the below page to get update  
https://www.facebook.com/datastage4you
https://twitter.com/datagenx
https://plus.google.com/+AtulSingh0/posts
https://groups.google.com/forum/#!forum/datagenx

No comments:

Post a Comment

Disclaimer

The postings on this site are my own and don't necessarily represent IBM's or other companies positions, strategies or opinions. All content provided on this blog is for informational purposes and knowledge sharing only.
The owner of this blog makes no representations as to the accuracy or completeness of any information on this site or found by following any link on this site. The owner will not be liable for any errors or omissions in this information nor for the availability of this information. The owner will not be liable for any losses, injuries, or damages from the display or use of his information.