Shell Scripts - Unix, DOS

I have been writing shell scripts for years. Nothing complex but enough to get my work done. This is rarely done from memory, I usually look up sample scripts I wrote in previous years, and modify accordingly.
 
Until recently my skills stayed about even with dos and unix variants, but in the last year I moved to unix entirely even on windows, running it under cygwin. So my dos hasn't been exercised very well for over half a decade.
 
In unix I have always used the bash shell.