Merits of replacing bash with python
bowman
bowman at montana.com
Sun May 19 13:42:53 EDT 2002
Kevin Davies wrote:
>
> I am pretty new to python and am looking for some good reasons to
> replace bash with python.
Do you mean scripts to be run under the bash shell? One minus may be that
bash is almost guaranteed to be on a Linux distro, while Python may not be,
although most modern distros install Python by default and may depend on it
for their tools. otoh, a bash script has to be rewritten for tcsh or other
shells, while Python allows the user to select the shell of their choice.
Python, of course, will do much more than bash is capable of, and presents
a more orthogonal system than stringing together bash, gawk, sed, cut, and
so forth.
More information about the Python-list
mailing list