tags:

views:

1442

answers:

2

I have some ksh scripts which I'd like to convert to run with bash instead.

Are there any useful on-line resources for this?

I'm really looking for a list of differences between the two shells and any gotchas I might encounter, although all information is welcome :-)

+1  A: 

Have you tried looking at this page? It has a useful matrix of features and links to elsewhere.

Also this link, search for:

C2) How does bash differ from the Korn shell

ColinYounger
+1  A: 

Here's a comparison from HP on the differences between shells:
http://docs.hp.com/en/B2355-90046/ch15s03.html

Here's a great set of UNIX shell tutorials from Richard's Shell Scripting Universe:
http://www.injunea.demon.co.uk/index.htm

The second is by far one of the most useful scripting resources I have found, and it really helps you learn how to write scripts with portability in mind.

Good luck with your conversions.

Tim Kennedy