Volker Kuhlmann wrote:

Here's a backup script I wrote. I find it simple to understand, and easy to modify, given that it needs to run on a number of different linux distributions, as well as Solaris 8, 9and 10.





I wouldn't dream of writing it any other way than as a shellscript.



That's getting tough, and using a more controlled language has
advantages. Bash 2 lets you do things, the main purpose of that piece
Solaris 7 ships as /bin/sh is making sure you can't do things. The same
pretty much goes for a lot of the Solaris 7 command line stuff one
typically uses from a script. Simply put, it's rubbish. Can't say that
about the GNU ones. Perhaps things have improved.


basing anything on slowlaris 7 is a bit unfair, as it was a mad dash to get a 64 bit version out of the door. It was really crap, and I thoroughly recommend any poor b*gger still on it to upgrade to 9 yesterday!

There was one flag on sh in 7 that you needed to set so that it would keep on going if you tried to access an undefined var - can't remember what it was, but HP stole that version as well (^:

The only thing that really hacks me off is their own version of tar which certainly falls into the rubbish category.

To be honest, that version of sh was more robust than 2.6 sol, and so on. Really, it's only cr*p compared to current day ones - the core problem being that there used to be 2 sh's bsd and system V. Bash has just about brought them together now, but the real headaches are mainly caused by going from one to the other - like FreeBSD and linux - both work perfectly, but they really trip you up when you switch from one to the other.


As for the php applications / python web based apps... I really don't know of any major python based applications to compare against php. Have you any stats?


Cheers,

Steve

Reply via email to